C# Class Templates.FluentValidation.ValidationTemplate

Inheritance: IDataErrorInfo, INotifyDataErrorInfo
Afficher le fichier Open project: Fody/Validar Class Usage Examples

Méthodes publiques

Méthode 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

Méthode Description
GetValidator ( Type modelType ) : IValidator

Method Details

GetErrors() public méthode

public GetErrors ( string propertyName ) : IEnumerable
propertyName string
Résultat IEnumerable

RaiseErrorsChanged() public méthode

public RaiseErrorsChanged ( string propertyName ) : void
propertyName string
Résultat void

Validate() public méthode

public Validate ( object sender, PropertyChangedEventArgs e ) : void
sender object
e System.ComponentModel.PropertyChangedEventArgs
Résultat void

ValidationTemplate() public méthode

public ValidationTemplate ( INotifyPropertyChanged target ) : System
target INotifyPropertyChanged
Résultat System

this() public méthode

public this ( string propertyName ) : string
propertyName string
Résultat string