C# Class CavemanTools.Model.Validation.DefaultValidationWrapper

Collects error messages from validation
Inheritance: IValidationDictionary, IDataErrorInfo
Afficher le fichier Open project: sapiens/cavemantools Class Usage Examples

Méthodes publiques

Méthode Description
AddError ( string key, string errorMessage ) : void

Adds validation error message

Clear ( ) : void
CopyTo ( IValidationDictionary other ) : void

copies errors to another dictionary

ShowErrors ( ) : string
this ( string columnName ) : string

Method Details

AddError() public méthode

Adds validation error message
public AddError ( string key, string errorMessage ) : void
key string Key
errorMessage string Text
Résultat void

Clear() public méthode

public Clear ( ) : void
Résultat void

CopyTo() public méthode

copies errors to another dictionary
public CopyTo ( IValidationDictionary other ) : void
other IValidationDictionary
Résultat void

ShowErrors() public méthode

public ShowErrors ( ) : string
Résultat string

this() public méthode

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