ValidationMessage
AgentPrism.Abstractions.dllA single finding produced by the validation of an agent definition.
public sealed record ValidationMessage : IEquatable<ValidationMessage>Inheritance
Section titled “Inheritance”Implements
Section titled “Implements”Inherited Members
Section titled “Inherited Members”object.GetType(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()
Remarks
Section titled “Remarks”ValidationMessage.Message comes from the server and is not translated; the user interface shows its own heading based on ValidationMessage.Code alone.
Constructors
Section titled “Constructors”ValidationMessage()
Section titled “ ValidationMessage()”public ValidationMessage()Properties
Section titled “Properties”Gets the stable machine-readable code, for example unknown_tool or cycle.
public required string Code { get; init; }Property Value
Section titled “Property Value”Message
Section titled “ Message”Gets the human-readable description. It is not translated.
public required string Message { get; init; }Property Value
Section titled “Property Value”Gets the path of the offending field inside the definition, for example
toolNames[2]. It is null when the finding points at no field.
public string? Path { get; init; }Property Value
Section titled “Property Value”Severity
Section titled “ Severity”Gets the severity of the finding.
public required ValidationSeverity Severity { get; init; }Property Value
Section titled “Property Value”Methods
Section titled “Methods”Equals(object?)
Section titled “ Equals(object?)”public override bool Equals(object? obj)Parameters
Section titled “Parameters”obj object?
Returns
Section titled “Returns”Equals(ValidationMessage?)
Section titled “ Equals(ValidationMessage?)”public bool Equals(ValidationMessage? other)Parameters
Section titled “Parameters”other ValidationMessage?
Returns
Section titled “Returns”GetHashCode()
Section titled “ GetHashCode()”public override int GetHashCode()Returns
Section titled “Returns”ToString()
Section titled “ ToString()”public override string ToString()Returns
Section titled “Returns”Operators
Section titled “Operators”operator ==(ValidationMessage?, ValidationMessage?)
Section titled “ operator ==(ValidationMessage?, ValidationMessage?)”public static bool operator ==(ValidationMessage? left, ValidationMessage? right)Parameters
Section titled “Parameters”left ValidationMessage?
right ValidationMessage?
Returns
Section titled “Returns”operator !=(ValidationMessage?, ValidationMessage?)
Section titled “ operator !=(ValidationMessage?, ValidationMessage?)”public static bool operator !=(ValidationMessage? left, ValidationMessage? right)Parameters
Section titled “Parameters”left ValidationMessage?
right ValidationMessage?