Interface IBehaviorModuleBuilder
Namespace: Cephalon.Abstractions.Behaviors
Assembly: Cephalon.Abstractions.dll
Collects behavior ownership declarations contributed by a Cephalon module.
public interface IBehaviorModuleBuilderRemarks
Section titled “Remarks”This builder is host-agnostic and only declares which behaviors a module owns. Public REST exposure stays in host adapters such as ASP.NET Core.
Methods
Section titled “Methods”Add<TBehavior>()
Section titled “ Add<TBehavior>()”Declares that the current module owns the specified behavior.
IBehaviorModuleBuilder Add<TBehavior>() where TBehavior : classReturns
Section titled “Returns”The same builder for fluent ownership registration.
Type Parameters
Section titled “Type Parameters”TBehavior
The concrete behavior type owned by the module.
Add<TBehavior>(Action<IBehaviorTopologyBuilder>)
Section titled “ Add<TBehavior>(Action<IBehaviorTopologyBuilder>)”Declares that the current module owns the specified behavior and supplies an explicit topology override.
IBehaviorModuleBuilder Add<TBehavior>(Action<IBehaviorTopologyBuilder> configureTopology) where TBehavior : classParameters
Section titled “Parameters”configureTopology Action<IBehaviorTopologyBuilder>
The callback that selects the resolved behavior topology when attribute-only synthesis is not enough.
Returns
Section titled “Returns”The same builder for fluent ownership registration.
Type Parameters
Section titled “Type Parameters”TBehavior
The concrete behavior type owned by the module.