Compartilhar via


OrleansServiceFabricExtensions.AddServiceFabricSupport Método

Definição

Sobrecargas

AddServiceFabricSupport(IServiceCollection, StatefulService)

Adiciona suporte do Service Fabric à coleção de serviços fornecida.

AddServiceFabricSupport(IServiceCollection, StatelessService)

Adiciona suporte do Service Fabric à coleção de serviços fornecida.

AddServiceFabricSupport(IServiceCollection, StatefulService)

Adiciona suporte do Service Fabric à coleção de serviços fornecida.

public static Microsoft.Extensions.DependencyInjection.IServiceCollection AddServiceFabricSupport (this Microsoft.Extensions.DependencyInjection.IServiceCollection serviceCollection, Microsoft.ServiceFabric.Services.Runtime.StatefulService service);
static member AddServiceFabricSupport : Microsoft.Extensions.DependencyInjection.IServiceCollection * Microsoft.ServiceFabric.Services.Runtime.StatefulService -> Microsoft.Extensions.DependencyInjection.IServiceCollection
<Extension()>
Public Function AddServiceFabricSupport (serviceCollection As IServiceCollection, service As StatefulService) As IServiceCollection

Parâmetros

serviceCollection
IServiceCollection

A coleção de serviços.

service
StatefulService

O serviço do Service Fabric.

Retornos

A coleção de serviços fornecida.

Aplica-se a

AddServiceFabricSupport(IServiceCollection, StatelessService)

Adiciona suporte do Service Fabric à coleção de serviços fornecida.

public static Microsoft.Extensions.DependencyInjection.IServiceCollection AddServiceFabricSupport (this Microsoft.Extensions.DependencyInjection.IServiceCollection serviceCollection, Microsoft.ServiceFabric.Services.Runtime.StatelessService service);
static member AddServiceFabricSupport : Microsoft.Extensions.DependencyInjection.IServiceCollection * Microsoft.ServiceFabric.Services.Runtime.StatelessService -> Microsoft.Extensions.DependencyInjection.IServiceCollection
<Extension()>
Public Function AddServiceFabricSupport (serviceCollection As IServiceCollection, service As StatelessService) As IServiceCollection

Parâmetros

serviceCollection
IServiceCollection

A coleção de serviços.

service
StatelessService

O serviço do Service Fabric.

Retornos

A coleção de serviços fornecida.

Aplica-se a