C# Класс Channel9Downloader.ViewModels.Framework.ValidatingObject

This class serves as base class for objects that support validation.
Наследование: ObservableObject, IValidatingObject
Показать файл Открыть проект

Открытые методы

Метод Описание
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