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

Interface IBehaviorOwnerModule

เนื้อหานี้ยังไม่ได้แปลเป็นภาษาไทย แสดงเป็นภาษาอังกฤษแทน

Namespace: Cephalon.Abstractions.Behaviors
Assembly: Cephalon.Abstractions.dll

Declares that a module explicitly owns one or more Cephalon behaviors.

public interface IBehaviorOwnerModule : IModule

IModule

Modules can use this contract to keep behavior ownership deterministic without relying only on assembly scanning. A module may still choose to expose only some of its owned behaviors through a host adapter such as ASP.NET Core REST.

ConfigureBehaviors(IBehaviorModuleBuilder)

Section titled “ ConfigureBehaviors(IBehaviorModuleBuilder)”

Registers the behaviors owned by the current module.

void ConfigureBehaviors(IBehaviorModuleBuilder behaviors)

behaviors IBehaviorModuleBuilder

The builder that collects module-owned behavior registrations.