Class OwnedBehaviorRegistration
Namespace: Cephalon.Abstractions.Behaviors
Assembly: Cephalon.Abstractions.dll
Describes one explicit module-owned behavior registration collected during engine composition.
public sealed class OwnedBehaviorRegistrationInheritance
Section titled “Inheritance”object ← OwnedBehaviorRegistration
Inherited Members
Section titled “Inherited Members”object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.ReferenceEquals(object?, object?), object.ToString()
Constructors
Section titled “Constructors”OwnedBehaviorRegistration(string, string, Type, Action<IBehaviorTopologyBuilder>?)
Section titled “ OwnedBehaviorRegistration(string, string, Type, Action<IBehaviorTopologyBuilder>?)”Initializes a new
public OwnedBehaviorRegistration(string sourceModuleId, string behaviorId, Type behaviorType, Action<IBehaviorTopologyBuilder>? configureTopology = null)Parameters
Section titled “Parameters”sourceModuleId string
The stable module identifier that owns the behavior.
behaviorId string
The stable behavior identifier.
behaviorType Type
The concrete behavior implementation type.
configureTopology Action<IBehaviorTopologyBuilder>?
An optional topology callback used when the owning module needs to select an explicit behavior topology.
Properties
Section titled “Properties”BehaviorId
Section titled “ BehaviorId”Gets the stable behavior identifier.
public string BehaviorId { get; }Property Value
Section titled “Property Value”BehaviorType
Section titled “ BehaviorType”Gets the concrete behavior implementation type.
public Type BehaviorType { get; }Property Value
Section titled “Property Value”ConfigureTopology
Section titled “ ConfigureTopology”Gets the optional topology callback supplied by the owning module.
public Action<IBehaviorTopologyBuilder>? ConfigureTopology { get; }Property Value
Section titled “Property Value”Action<IBehaviorTopologyBuilder>?
SourceModuleId
Section titled “ SourceModuleId”Gets the stable module identifier that owns the behavior.
public string SourceModuleId { get; }