Class AsiBackboneServiceCollectionExtensions
- Namespace
- AsiBackbone.DependencyInjection
- Assembly
- AsiBackbone.DependencyInjection.dll
Provides the explicit AddAsiBackbone dependency injection entry point.
public static class AsiBackboneServiceCollectionExtensions
- Inheritance
-
AsiBackboneServiceCollectionExtensions
- Inherited Members
Methods
AddAsiBackbone(IServiceCollection, Action<IAsiBackboneBuilder>)
Adds an explicit AsiBackbone builder facade for host-selected provider registrations.
public static IServiceCollection AddAsiBackbone(this IServiceCollection services, Action<IAsiBackboneBuilder> configure)
Parameters
servicesIServiceCollectionThe service collection to configure.
configureAction<IAsiBackboneBuilder>The callback that names the provider registrations the host wants.
Returns
- IServiceCollection
The same service collection so calls can be chained.
Remarks
This method does not register Core, persistence, endpoint governance, telemetry, signing, outbox, or local-development providers by itself.
Provider packages contribute their own Use* extension methods, and only those explicitly called by the host add services.
Exceptions
- ArgumentNullException
Thrown when
servicesorconfigureis null.