C# Class NonGeneric.ValidationTemplate

Inheritance: IDataErrorInfo, INotifyDataErrorInfo
Datei anzeigen Open project: Fody/Validar Class Usage Examples

Public Methods

Method Description
GetErrors ( string propertyName ) : IEnumerable
RaiseErrorsChanged ( string propertyName ) : void
Validate ( object sender, PropertyChangedEventArgs e ) : void
ValidationTemplate ( INotifyPropertyChanged target ) : System
this ( string propertyName ) : string

Private Methods

Method Description
GetValidator ( Type modelType ) : IValidator

Method Details

GetErrors() public method

public GetErrors ( string propertyName ) : IEnumerable
propertyName string
return IEnumerable

RaiseErrorsChanged() public method

public RaiseErrorsChanged ( string propertyName ) : void
propertyName string
return void

Validate() public method

public Validate ( object sender, PropertyChangedEventArgs e ) : void
sender object
e System.ComponentModel.PropertyChangedEventArgs
return void

ValidationTemplate() public method

public ValidationTemplate ( INotifyPropertyChanged target ) : System
target INotifyPropertyChanged
return System

this() public method

public this ( string propertyName ) : string
propertyName string
return string