Class BehaviorCatalog
เนื้อหานี้ยังไม่ได้แปลเป็นภาษาไทย แสดงเป็นภาษาอังกฤษแทน
Namespace: Cephalon.Behaviors.Services
Assembly: Cephalon.Behaviors.dll
Exposes the merged set of behavior topology descriptors contributed to the active runtime.
Contributors are discovered via DI enumeration over
public sealed class BehaviorCatalog : IBehaviorCatalogInheritance
Section titled “Inheritance”Implements
Section titled “Implements”IBehaviorCatalog
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”BehaviorCatalog(IEnumerable<IBehaviorContributor>)
Section titled “ BehaviorCatalog(IEnumerable<IBehaviorContributor>)”Initializes a new
public BehaviorCatalog(IEnumerable<IBehaviorContributor> contributors)Parameters
Section titled “Parameters”contributors IEnumerable<IBehaviorContributor>
The contributors that project behavior topology descriptors.
Properties
Section titled “Properties”Gets all registered behavior topology descriptors.
public IReadOnlyList<BehaviorTopologyDescriptor> All { get; }Property Value
Section titled “Property Value”IReadOnlyList<BehaviorTopologyDescriptor>
Methods
Section titled “Methods”FindById(string)
Section titled “ FindById(string)”Finds a behavior by identifier (case-insensitive), or returns null if not found.
public BehaviorTopologyDescriptor? FindById(string behaviorId)Parameters
Section titled “Parameters”behaviorId string
Returns
Section titled “Returns”BehaviorTopologyDescriptor?
GetByPattern(string)
Section titled “ GetByPattern(string)”Gets all behaviors registered with the specified pattern.
public IReadOnlyList<BehaviorTopologyDescriptor> GetByPattern(string pattern)Parameters
Section titled “Parameters”pattern string
Returns
Section titled “Returns”IReadOnlyList<BehaviorTopologyDescriptor>
GetByTransport(string)
Section titled “ GetByTransport(string)”Gets all behaviors registered with the specified transport.
public IReadOnlyList<BehaviorTopologyDescriptor> GetByTransport(string transportId)Parameters
Section titled “Parameters”transportId string
Returns
Section titled “Returns”IReadOnlyList<BehaviorTopologyDescriptor>