C# Class DNTCommon.Web.Core.BackgroundQueueServiceExtensions

Adds IQueueBackgroundWorkItem to IServiceCollection.
Afficher le fichier Open project: VahidN/DNTCommon.Web.Core

Méthodes publiques

Méthode 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 méthode

Adds IQueueBackgroundWorkItem to IServiceCollection.
public static AddBackgroundQueueService ( IServiceCollection services ) : IServiceCollection
services IServiceCollection
Résultat IServiceCollection

AddHostedApiService() public static méthode

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