Compartilhar via


ServiceDiscoveryServiceCollectionExtensions.AddPassThroughServiceEndpointProvider Method

Definition

Configures a service discovery endpoint provider which passes through the input without performing resolution.

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

Parameters

services
IServiceCollection

The service collection.

Returns

The service collection.

Applies to