DefaultEndpointDataSource 建構函式

定義

多載

DefaultEndpointDataSource(Endpoint[])

初始化 DefaultEndpointDataSource 類別的新執行個體。

DefaultEndpointDataSource(IEnumerable<Endpoint>)

初始化 DefaultEndpointDataSource 類別的新執行個體。

DefaultEndpointDataSource(Endpoint[])

來源:
DefaultEndpointDataSource.cs

初始化 DefaultEndpointDataSource 類別的新執行個體。

public:
 DefaultEndpointDataSource(... cli::array <Microsoft::AspNetCore::Http::Endpoint ^> ^ endpoints);
public DefaultEndpointDataSource (params Microsoft.AspNetCore.Http.Endpoint[] endpoints);
new Microsoft.AspNetCore.Routing.DefaultEndpointDataSource : Microsoft.AspNetCore.Http.Endpoint[] -> Microsoft.AspNetCore.Routing.DefaultEndpointDataSource
Public Sub New (ParamArray endpoints As Endpoint())

參數

endpoints
Endpoint[]

Endpoint資料來源將傳回的實例。

適用於

DefaultEndpointDataSource(IEnumerable<Endpoint>)

來源:
DefaultEndpointDataSource.cs

初始化 DefaultEndpointDataSource 類別的新執行個體。

public:
 DefaultEndpointDataSource(System::Collections::Generic::IEnumerable<Microsoft::AspNetCore::Http::Endpoint ^> ^ endpoints);
public DefaultEndpointDataSource (System.Collections.Generic.IEnumerable<Microsoft.AspNetCore.Http.Endpoint> endpoints);
new Microsoft.AspNetCore.Routing.DefaultEndpointDataSource : seq<Microsoft.AspNetCore.Http.Endpoint> -> Microsoft.AspNetCore.Routing.DefaultEndpointDataSource
Public Sub New (endpoints As IEnumerable(Of Endpoint))

參數

endpoints
IEnumerable<Endpoint>

Endpoint資料來源將傳回的實例。

適用於