Class AsiBackboneAspNetCoreServiceCollectionExtensions
- Namespace
- AsiBackbone.AspNetCore.DependencyInjection
- Assembly
- AsiBackbone.AspNetCore.dll
Provides dependency injection registration helpers for ASP.NET Core host integration.
public static class AsiBackboneAspNetCoreServiceCollectionExtensions
- Inheritance
-
AsiBackboneAspNetCoreServiceCollectionExtensions
- Inherited Members
Methods
AddAsiBackboneAspNetCore(IServiceCollection)
Adds ASP.NET Core integration services for AsiBackbone using default options.
public static IServiceCollection AddAsiBackboneAspNetCore(this IServiceCollection services)
Parameters
servicesIServiceCollectionThe service collection to add services to.
Returns
- IServiceCollection
The same service collection so calls can be chained.
AddAsiBackboneAspNetCore(IServiceCollection, Action<AsiBackboneAspNetCoreOptions>)
Adds ASP.NET Core integration services for AsiBackbone using configured options.
public static IServiceCollection AddAsiBackboneAspNetCore(this IServiceCollection services, Action<AsiBackboneAspNetCoreOptions> configure)
Parameters
servicesIServiceCollectionThe service collection to add services to.
configureAction<AsiBackboneAspNetCoreOptions>The options configuration callback.
Returns
- IServiceCollection
The same service collection so calls can be chained.
Exceptions
- ArgumentNullException
Thrown when
servicesorconfigureis null.
AddAsiBackboneGovernanceOutboxDrainWorker(IServiceCollection)
Adds the host-owned governance outbox drain worker using default scheduling options.
public static IServiceCollection AddAsiBackboneGovernanceOutboxDrainWorker(this IServiceCollection services)
Parameters
servicesIServiceCollectionThe service collection to add services to.
Returns
- IServiceCollection
The same service collection so calls can be chained.
AddAsiBackboneGovernanceOutboxDrainWorker(IServiceCollection, Action<AsiBackboneGovernanceOutboxDrainWorkerOptions>)
Adds the host-owned governance outbox drain worker using configured scheduling options.
public static IServiceCollection AddAsiBackboneGovernanceOutboxDrainWorker(this IServiceCollection services, Action<AsiBackboneGovernanceOutboxDrainWorkerOptions> configure)
Parameters
servicesIServiceCollectionThe service collection to add services to.
configureAction<AsiBackboneGovernanceOutboxDrainWorkerOptions>The worker options configuration callback.
Returns
- IServiceCollection
The same service collection so calls can be chained.
Exceptions
- ArgumentNullException
Thrown when
servicesorconfigureis null.