Share via


EndpointMetadataCollection 构造函数

定义

重载

EndpointMetadataCollection(IEnumerable<Object>)

创建一个新的 EndpointMetadataCollection

EndpointMetadataCollection(Object[])

创建一个新的 EndpointMetadataCollection

EndpointMetadataCollection(IEnumerable<Object>)

Source:
EndpointMetadataCollection.cs

创建一个新的 EndpointMetadataCollection

public:
 EndpointMetadataCollection(System::Collections::Generic::IEnumerable<System::Object ^> ^ items);
public EndpointMetadataCollection (System.Collections.Generic.IEnumerable<object> items);
new Microsoft.AspNetCore.Http.EndpointMetadataCollection : seq<obj> -> Microsoft.AspNetCore.Http.EndpointMetadataCollection
Public Sub New (items As IEnumerable(Of Object))

参数

items
IEnumerable<Object>

元数据项。

适用于

EndpointMetadataCollection(Object[])

Source:
EndpointMetadataCollection.cs

创建一个新的 EndpointMetadataCollection

public:
 EndpointMetadataCollection(... cli::array <System::Object ^> ^ items);
public EndpointMetadataCollection (params object[] items);
new Microsoft.AspNetCore.Http.EndpointMetadataCollection : obj[] -> Microsoft.AspNetCore.Http.EndpointMetadataCollection
Public Sub New (ParamArray items As Object())

参数

items
Object[]

元数据项。

适用于