Skip to content

Class Abt004CqrsMultipleTransportsRule

Namespace: Cephalon.Behaviors.Compatibility
Assembly: Cephalon.Behaviors.dll

ABT-004: A CQRS behavior with more than one transport may produce unexpected routing ambiguity.

public sealed class Abt004CqrsMultipleTransportsRule : IBehaviorCompatibilityRule

objectAbt004CqrsMultipleTransportsRule

IBehaviorCompatibilityRule

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

Gets a human-readable description of the rule.

public string Description { get; }

string

Gets the rule identifier ABT-004.

public string RuleId { get; }

string

Returns an advisory when a cqrs behavior is configured with more than one transport.

public BehaviorCompatibilityViolation? Check(BehaviorTopologyDescriptor descriptor)

descriptor BehaviorTopologyDescriptor

The behavior topology descriptor to evaluate.

BehaviorCompatibilityViolation?

A with when the rule is violated, or null when the descriptor is compliant.