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

Class OwnedBehaviorRegistration

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

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

Describes one explicit module-owned behavior registration collected during engine composition.

public sealed class OwnedBehaviorRegistration

objectOwnedBehaviorRegistration

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

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)

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.

Gets the stable behavior identifier.

public string BehaviorId { get; }

string

Gets the concrete behavior implementation type.

public Type BehaviorType { get; }

Type

Gets the optional topology callback supplied by the owning module.

public Action<IBehaviorTopologyBuilder>? ConfigureTopology { get; }

Action<IBehaviorTopologyBuilder>?

Gets the stable module identifier that owns the behavior.

public string SourceModuleId { get; }

string