Class BehaviorAllowlistValidator
เนื้อหานี้ยังไม่ได้แปลเป็นภาษาไทย แสดงเป็นภาษาอังกฤษแทน
Namespace: Cephalon.Behaviors.Validation
Assembly: Cephalon.Behaviors.dll
Validates that a behavior’s resolved interaction pattern is permitted by its
public sealed class BehaviorAllowlistValidatorInheritance
Section titled “Inheritance”object ← BehaviorAllowlistValidator
Inherited Members
Section titled “Inherited Members”object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.ReferenceEquals(object?, object?), object.ToString()
Methods
Section titled “Methods”Validate(BehaviorTopologyDescriptor, Type?)
Section titled “ Validate(BehaviorTopologyDescriptor, Type?)”Validates the resolved topology against the allowlist declared on the behavior type.
public static void Validate(BehaviorTopologyDescriptor descriptor, Type? behaviorType)Parameters
Section titled “Parameters”descriptor BehaviorTopologyDescriptor
The resolved behavior topology descriptor.
behaviorType Type?
The concrete behavior type to inspect for
Exceptions
Section titled “Exceptions”BehaviorSecurityException
Thrown when the resolved pattern or a transport is not in the declared allowlist.