ข้ามไปยังเนื้อหา

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 MultiTenancyGovernanceAspNetCoreServiceCollectionExtensions

objectMultiTenancyGovernanceAspNetCoreServiceCollectionExtensions

object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.MemberwiseClone(), object.ReferenceEquals(object?, object?), object.ToString()

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)

services IServiceCollection

The service collection to extend.

configuration IConfiguration?

The optional configuration root used to populate from Engine:MultiTenancy:Governance:AspNetCore.

configure Action<MultiTenancyGovernanceAspNetCoreOptions>?

An optional callback that can extend or override the configuration-driven ASP.NET Core governance adapter options.

IServiceCollection

The same service collection for fluent registration.