C# Class DNTCommon.Web.Core.BackgroundQueueServiceExtensions

Adds IQueueBackgroundWorkItem to IServiceCollection.
Mostrar archivo Open project: VahidN/DNTCommon.Web.Core

Public Methods

Method Description
AddBackgroundQueueService ( IServiceCollection services ) : IServiceCollection

Adds IQueueBackgroundWorkItem to IServiceCollection.

AddHostedApiService ( IServiceCollection services ) : void

Used to register IHostedService class which defines an referenced TInterface interface.

Method Details

AddBackgroundQueueService() public static method

Adds IQueueBackgroundWorkItem to IServiceCollection.
public static AddBackgroundQueueService ( IServiceCollection services ) : IServiceCollection
services IServiceCollection
return IServiceCollection

AddHostedApiService() public static method

Used to register IHostedService class which defines an referenced TInterface interface.
public static AddHostedApiService ( IServiceCollection services ) : void
services IServiceCollection
return void