Class MultiTenancyGovernanceAspNetCoreServiceCollectionExtensions
Namespace: Cephalon.MultiTenancy.Governance.AspNetCore.Hosting
Assembly: Cephalon.MultiTenancy.Governance.AspNetCore.dll
Registers the ASP.NET Core governance adapter services used by Cephalon multi-tenancy governance.
public static class MultiTenancyGovernanceAspNetCoreServiceCollectionExtensionsInheritance
Section titled “Inheritance”object ← MultiTenancyGovernanceAspNetCoreServiceCollectionExtensions
Inherited Members
Section titled “Inherited Members”object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.MemberwiseClone(), object.ReferenceEquals(object?, object?), object.ToString()
Methods
Section titled “Methods”AddCephalonMultiTenancyGovernanceAspNetCore(IServiceCollection, IConfiguration?, Action<MultiTenancyGovernanceAspNetCoreOptions>?)
Section titled “ AddCephalonMultiTenancyGovernanceAspNetCore(IServiceCollection, IConfiguration?, Action<MultiTenancyGovernanceAspNetCoreOptions>?)”Adds the Cephalon ASP.NET Core multi-tenancy governance adapter to the service collection.
public static IServiceCollection AddCephalonMultiTenancyGovernanceAspNetCore(this IServiceCollection services, IConfiguration? configuration = null, Action<MultiTenancyGovernanceAspNetCoreOptions>? configure = null)Parameters
Section titled “Parameters”services IServiceCollection
The service collection to extend.
configuration IConfiguration?
The optional configuration root used to populate Engine:MultiTenancy:Governance:AspNetCore.
configure Action<MultiTenancyGovernanceAspNetCoreOptions>?
An optional callback that can extend or override the configuration-driven ASP.NET Core governance adapter options.
Returns
Section titled “Returns”The same service collection for fluent registration.