Table of Contents

Class IServiceCollectionExtensions

Namespace
Songhay.S3.Extensions
Assembly
SonghayCore.S3.dll

Extensions of IServiceCollection

public static class IServiceCollectionExtensions
Inheritance
IServiceCollectionExtensions
Inherited Members

Methods

AddActivityKeyedTaskGroup<TActivityGroup>(IServiceCollection)

Adds the dependencies associated with the domain-specific class, implementing IActivityKeyedTaskGroup<TOutput> by reading the name of this class.

public static IServiceCollection AddActivityKeyedTaskGroup<TActivityGroup>(this IServiceCollection services) where TActivityGroup : IActivityKeyedTaskGroup<EndpointResult>

Parameters

services IServiceCollection

the ambient services collected

Returns

IServiceCollection

Type Parameters

TActivityGroup

the domain-specific class, implementing IActivityKeyedTaskGroup<TOutput>

AddAnyConfiguredHostOptions(IServiceCollection, IConfiguration)

Returns IServiceCollection with any available HostOptions configured in appsettings.json

public static IServiceCollection AddAnyConfiguredHostOptions(this IServiceCollection services, IConfiguration configuration)

Parameters

services IServiceCollection

the IServiceCollection

configuration IConfiguration

the IConfiguration

Returns

IServiceCollection

AddS3HostedServiceDependencies<THostedService>(IServiceCollection)

Adds the dependencies associated with the domain-specific class, sub-classing BackgroundService by reading the name of this class.

public static IServiceCollection AddS3HostedServiceDependencies<THostedService>(this IServiceCollection services) where THostedService : class, IHostedService

Parameters

services IServiceCollection

the ambient services collected

Returns

IServiceCollection

Type Parameters

THostedService

the domain-specific class, sub-classing BackgroundService

AddS3HostedService<THostedService>(IServiceCollection)

public static IServiceCollection AddS3HostedService<THostedService>(this IServiceCollection services) where THostedService : class, IHostedService

Parameters

services IServiceCollection

the IServiceCollection

Returns

IServiceCollection

Type Parameters

THostedService

the domain-specific class, sub-classing BackgroundService