Skip to content

Interface IBehaviorCompatibilityRule

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

Validates a behavior topology descriptor against a compatibility constraint.

public interface IBehaviorCompatibilityRule

Gets a human-readable description of the rule.

string Description { get; }

string

Gets the unique rule identifier (e.g. “ABT-001”).

string RuleId { get; }

string

Checks the descriptor and returns a violation if the rule is violated, or null if valid.

BehaviorCompatibilityViolation? Check(BehaviorTopologyDescriptor descriptor)

descriptor BehaviorTopologyDescriptor

BehaviorCompatibilityViolation?