Base interface for classes that represent validation errors.
interface
|
IValidateMessage
|
extends
|
IComparable<IValidateMessage>
|
||
IEquatable<IValidateMessage>
|
|||||
base of
|
ValidateMessage
|
The context object.
property
|
MessageContext
{
get
set
}
|
||
type
|
object
|
||
value
|
The
context
object
or
null . |
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. |
Message that describes this error.
property
|
MessageText
{
get
}
|
||
type
|
string
|
||
value
|
|
The error message. |
The message type.
property
|
MessageType
{
get
}
|
||
type
|
ValidateMessageType
|
||
value
|
The message type. |
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
|
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
|
method
|
Throw
(string source)
|
||
type
|
ValidatingException
|
||
params
|
source
|
method
|
ToString
(IValidateMessage previous)
|
||
type
|
string
|
||
params
|
previous
|