C# 클래스 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.
상속: ErrorBase
파일 보기 프로젝트 열기: JDolinger/Watchdog

공개 메소드들

메소드 설명
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.

메소드 상세

Equals() 공개 메소드

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

ValidationError() 공개 메소드

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.
리턴 System