C# Class GuoKun.Configuration.BaseViewModel

ViewModel抽象基类,增加了变化通知、数据验证功能
Inheritance: BindableBase, IDataErrorInfo
Afficher le fichier Open project: KINGGUOKUN/Account

Méthodes publiques

Méthode Description
this ( string columnName ) : string

IDataErrorInfo成员,索引验证错误内容

Méthodes protégées

Méthode Description
AddError ( string propertyName, string error ) : void

给指定属性添加指定验证错误

RemoveError ( string propertyName ) : void

移除指定属性的验证错误

Private Methods

Méthode Description
OnErrorsChanged ( string propertyName ) : void

引发验证错误变化事件

Method Details

AddError() protected méthode

给指定属性添加指定验证错误
protected AddError ( string propertyName, string error ) : void
propertyName string
error string
Résultat void

RemoveError() protected méthode

移除指定属性的验证错误
protected RemoveError ( string propertyName ) : void
propertyName string
Résultat void

this() public méthode

IDataErrorInfo成员,索引验证错误内容
public this ( string columnName ) : string
columnName string
Résultat string