Dela via


DefaultEndpointDataSource Constructors

Definition

Overloads

DefaultEndpointDataSource(Endpoint[])

Initializes a new instance of the DefaultEndpointDataSource class.

DefaultEndpointDataSource(IEnumerable<Endpoint>)

Initializes a new instance of the DefaultEndpointDataSource class.

DefaultEndpointDataSource(Endpoint[])

Source:
DefaultEndpointDataSource.cs
Source:
DefaultEndpointDataSource.cs

Initializes a new instance of the DefaultEndpointDataSource class.

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())

Parameters

endpoints
Endpoint[]

The Endpoint instances that the data source will return.

Applies to

DefaultEndpointDataSource(IEnumerable<Endpoint>)

Source:
DefaultEndpointDataSource.cs
Source:
DefaultEndpointDataSource.cs

Initializes a new instance of the DefaultEndpointDataSource class.

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))

Parameters

endpoints
IEnumerable<Endpoint>

The Endpoint instances that the data source will return.

Applies to