Table of Contents

Class ConstraintViolationMessage

Namespace
Cratis.Chronicle.Events.Constraints
Assembly
Cratis.Chronicle.dll

Represents the message from a violation of a constraint.

public record ConstraintViolationMessage : ConceptAs<string>, IComparable<ConceptAs<string>>, IComparable<string>, IComparable, IEquatable<ConceptAs<string>>, IEquatable<ConstraintViolationMessage>
Inheritance
ConstraintViolationMessage
Implements
Inherited Members

Constructors

ConstraintViolationMessage(string)

Represents the message from a violation of a constraint.

public ConstraintViolationMessage(string Message)

Parameters

Message string

The inner value.

Fields

NotDefined

Represents a constraint violation message that is not defined.

public static readonly ConstraintViolationMessage NotDefined

Field Value

ConstraintViolationMessage

Properties

Message

The inner value.

public string Message { get; init; }

Property Value

string

Operators

implicit operator ConstraintViolationMessage(string)

Implicitly convert from a string to a ConstraintViolationMessage.

public static implicit operator ConstraintViolationMessage(string message)

Parameters

message string

Name to convert.

Returns

ConstraintViolationMessage