Skip to content

Class BehaviorCompatibilityViolation

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

Represents a compatibility rule violation for a behavior topology.

public sealed class BehaviorCompatibilityViolation

objectBehaviorCompatibilityViolation

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

BehaviorCompatibilityViolation(string, string, CompatibilitySeverity, string)

Section titled “ BehaviorCompatibilityViolation(string, string, CompatibilitySeverity, string)”

Initializes a new instance of .

public BehaviorCompatibilityViolation(string ruleId, string behaviorId, CompatibilitySeverity severity, string message)

ruleId string

behaviorId string

severity CompatibilitySeverity

message string

Gets the behavior identifier that triggered the violation.

public string BehaviorId { get; }

string

Gets the violation message.

public string Message { get; }

string

Gets the rule identifier that was violated.

public string RuleId { get; }

string

Gets the violation severity.

public CompatibilitySeverity Severity { get; }

CompatibilitySeverity