C# 클래스 Channel9Downloader.ViewModels.Framework.ValidatingObject

This class serves as base class for objects that support validation.
상속: ObservableObject, IValidatingObject
파일 보기 프로젝트 열기: MadCowDevelopment/Channel9Downloader

공개 메소드들

메소드 설명
this ( string propertyName ) : string

Gets the error message for the property with the given name.

보호된 메소드들

메소드 설명
AddError ( string propertyName, string message ) : void

Adds an error to the errors dictionary.

ValidateProperty ( string propertyName ) : void

Validates a property.

비공개 메소드들

메소드 설명
OnDeserializing ( StreamingContext context ) : void
RemoveError ( string propertyName ) : void

Removes an error from the errors dictionary.

메소드 상세

AddError() 보호된 메소드

Adds an error to the errors dictionary.
protected AddError ( string propertyName, string message ) : void
propertyName string Name of the property for which an error should be added.
message string Error message that will be shown to the user.
리턴 void

ValidateProperty() 보호된 메소드

Validates a property.
protected ValidateProperty ( string propertyName ) : void
propertyName string Name of the property to validate.
리턴 void

this() 공개 메소드

Gets the error message for the property with the given name.
public this ( string propertyName ) : string
propertyName string The name of the property whose error message to get.
리턴 string