Partilhar via


ServiceDiscoveryServiceCollectionExtensions.AddServiceDiscoveryCore Method

Definition

Overloads

AddServiceDiscoveryCore(IServiceCollection)

Adds the core service discovery services.

AddServiceDiscoveryCore(IServiceCollection, Action<ServiceDiscoveryOptions>)

Adds the core service discovery services.

AddServiceDiscoveryCore(IServiceCollection)

Source:
ServiceDiscoveryServiceCollectionExtensions.cs
Source:
ServiceDiscoveryServiceCollectionExtensions.cs

Adds the core service discovery services.

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

Parameters

services
IServiceCollection

The service collection.

Returns

The service collection.

Applies to

AddServiceDiscoveryCore(IServiceCollection, Action<ServiceDiscoveryOptions>)

Source:
ServiceDiscoveryServiceCollectionExtensions.cs
Source:
ServiceDiscoveryServiceCollectionExtensions.cs

Adds the core service discovery services.

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

Parameters

services
IServiceCollection

The service collection.

configureOptions
Action<ServiceDiscoveryOptions>

The delegate used to configure service discovery options.

Returns

The service collection.

Applies to