ServiceEndpointSource Constructor

Definition

Initializes a new ServiceEndpointSource instance.

public ServiceEndpointSource (System.Collections.Generic.List<Microsoft.Extensions.ServiceDiscovery.ServiceEndpoint>? endpoints, Microsoft.Extensions.Primitives.IChangeToken changeToken, Microsoft.AspNetCore.Http.Features.IFeatureCollection features);
new Microsoft.Extensions.ServiceDiscovery.ServiceEndpointSource : System.Collections.Generic.List<Microsoft.Extensions.ServiceDiscovery.ServiceEndpoint> * Microsoft.Extensions.Primitives.IChangeToken * Microsoft.AspNetCore.Http.Features.IFeatureCollection -> Microsoft.Extensions.ServiceDiscovery.ServiceEndpointSource
Public Sub New (endpoints As List(Of ServiceEndpoint), changeToken As IChangeToken, features As IFeatureCollection)

Parameters

endpoints
List<ServiceEndpoint>

The endpoints.

changeToken
IChangeToken

The change token.

features
IFeatureCollection

The feature collection.

Applies to