OrleansServiceFabricExtensions.AddServiceFabricSupport Method
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.
Overloads
AddServiceFabricSupport(IServiceCollection, StatefulService) |
Adds Service Fabric support to the provided service collection. |
AddServiceFabricSupport(IServiceCollection, StatelessService) |
Adds Service Fabric support to the provided service collection. |
AddServiceFabricSupport(IServiceCollection, StatefulService)
Adds Service Fabric support to the provided service collection.
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
Parameters
- serviceCollection
- IServiceCollection
The service collection.
- service
- StatefulService
The Service Fabric service.
Returns
The provided service collection.
Applies to
AddServiceFabricSupport(IServiceCollection, StatelessService)
Adds Service Fabric support to the provided service collection.
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
Parameters
- serviceCollection
- IServiceCollection
The service collection.
- service
- StatelessService
The Service Fabric service.
Returns
The provided service collection.