Interface IBehaviorOwnerModule
เนื้อหานี้ยังไม่ได้แปลเป็นภาษาไทย แสดงเป็นภาษาอังกฤษแทน
Namespace: Cephalon.Abstractions.Behaviors
Assembly: Cephalon.Abstractions.dll
Declares that a module explicitly owns one or more Cephalon behaviors.
public interface IBehaviorOwnerModule : IModuleImplements
Section titled “Implements”Remarks
Section titled “Remarks”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.
Methods
Section titled “Methods”ConfigureBehaviors(IBehaviorModuleBuilder)
Section titled “ ConfigureBehaviors(IBehaviorModuleBuilder)”Registers the behaviors owned by the current module.
void ConfigureBehaviors(IBehaviorModuleBuilder behaviors)Parameters
Section titled “Parameters”behaviors IBehaviorModuleBuilder
The builder that collects module-owned behavior registrations.