ServiceCollectionHostedServiceExtensions Klas

Definitie

Extensiemethoden voor het toevoegen van gehoste services aan een IServiceCollection.

public ref class ServiceCollectionHostedServiceExtensions abstract sealed
public static class ServiceCollectionHostedServiceExtensions
type ServiceCollectionHostedServiceExtensions = class
Public Module ServiceCollectionHostedServiceExtensions
Overname
ServiceCollectionHostedServiceExtensions

Methoden

Name Description
AddHostedService<THostedService>(IServiceCollection, Func<IServiceProvider,THostedService>)

Voeg een IHostedService registratie toe voor het opgegeven type.

AddHostedService<THostedService>(IServiceCollection)

Voeg een IHostedService registratie toe voor het opgegeven type.

Van toepassing op