ServiceEndpointSource Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.