C# Class Watchdog.Validation.Core.ValidationError

A Validation Error that can be used to flag a field as invalid along with a message. This is for building property validation logic at the ViewModel layer, and being able to associate those errors back to the View.
Inheritance: ErrorBase
Mostra file Open project: JDolinger/Watchdog

Public Methods

Method Description
Equals ( object obj ) : bool

Determines whether the specified System.Object is equal to this instance.

ValidationError ( string fieldKey, string errorKey, string message ) : System

Initializes a new instance of the ValidationError class.

Method Details

Equals() public method

Determines whether the specified System.Object is equal to this instance.
public Equals ( object obj ) : bool
obj object The to compare with this instance.
return bool

ValidationError() public method

Initializes a new instance of the ValidationError class.
public ValidationError ( string fieldKey, string errorKey, string message ) : System
fieldKey string The target binding.
errorKey string The error key.
message string The message.
return System