TINMAN 3D / REALTIME TERRAIN
Software Development Kit - User Manual

interface IValidateMessage in Tinman.Core.Validating

Base interface for classes that represent validation errors.

interface IValidateMessage extends IComparable<IValidateMessage>
  IEquatable<IValidateMessage>
  base of ValidateMessage

Attributes

MessageContext

The context object.

property MessageContext { get set }
type object
value The context object or null.

MessagePath

The model path that leads to the error source.

property MessagePath { get set }
type ValidatePath
value The error path (will be None) if no path is available.

MessageText

Message that describes this error.

property MessageText { get }
type string
value [not-null] The error message.

MessageType

The message type.

property MessageType { get }
type ValidateMessageType
value The message type.

Methods

CompareTo

Compares this object with the given one.

[Pure]
method CompareTo (T other)
type int32
params other The object to compare to.
returns < 0 : if this object is less than other,
= 0 : if this object is equal to other,
> 0 : if this object is greater than other.
inherited IComparable.CompareTo

Equals

Compares this object with the given one.

[Pure]
method Equals (T other)
type bool
params other The object to compare to.
returns true if this object is equal to other, false if not.
inherited IEquatable.Equals

Throw

method Throw (string source)
type ValidatingException
params source

ToString

method ToString (IValidateMessage previous)
type string
params previous