Share via


ServiceDiscoveryServiceCollectionExtensions.AddConfigurationServiceEndpointProvider Method

Definition

Overloads

AddConfigurationServiceEndpointProvider(IServiceCollection)

Configures a service discovery endpoint provider which uses IConfiguration to resolve endpoints.

AddConfigurationServiceEndpointProvider(IServiceCollection, Action<ConfigurationServiceEndpointProviderOptions>)

Configures a service discovery endpoint provider which uses IConfiguration to resolve endpoints.

AddConfigurationServiceEndpointProvider(IServiceCollection)

Source:
ServiceDiscoveryServiceCollectionExtensions.cs
Source:
ServiceDiscoveryServiceCollectionExtensions.cs

Configures a service discovery endpoint provider which uses IConfiguration to resolve endpoints.

public static Microsoft.Extensions.DependencyInjection.IServiceCollection AddConfigurationServiceEndpointProvider (this Microsoft.Extensions.DependencyInjection.IServiceCollection services);
static member AddConfigurationServiceEndpointProvider : Microsoft.Extensions.DependencyInjection.IServiceCollection -> Microsoft.Extensions.DependencyInjection.IServiceCollection
<Extension()>
Public Function AddConfigurationServiceEndpointProvider (services As IServiceCollection) As IServiceCollection

Parameters

services
IServiceCollection

The service collection.

Returns

The service collection.

Applies to

AddConfigurationServiceEndpointProvider(IServiceCollection, Action<ConfigurationServiceEndpointProviderOptions>)

Source:
ServiceDiscoveryServiceCollectionExtensions.cs
Source:
ServiceDiscoveryServiceCollectionExtensions.cs

Configures a service discovery endpoint provider which uses IConfiguration to resolve endpoints.

public static Microsoft.Extensions.DependencyInjection.IServiceCollection AddConfigurationServiceEndpointProvider (this Microsoft.Extensions.DependencyInjection.IServiceCollection services, Action<Microsoft.Extensions.ServiceDiscovery.ConfigurationServiceEndpointProviderOptions> configureOptions);
static member AddConfigurationServiceEndpointProvider : Microsoft.Extensions.DependencyInjection.IServiceCollection * Action<Microsoft.Extensions.ServiceDiscovery.ConfigurationServiceEndpointProviderOptions> -> Microsoft.Extensions.DependencyInjection.IServiceCollection
<Extension()>
Public Function AddConfigurationServiceEndpointProvider (services As IServiceCollection, configureOptions As Action(Of ConfigurationServiceEndpointProviderOptions)) As IServiceCollection

Parameters

services
IServiceCollection

The service collection.

configureOptions
Action<ConfigurationServiceEndpointProviderOptions>

The delegate used to configure the provider.

Returns

The service collection.

Applies to