C# Class CavemanTools.Model.Validation.DefaultValidationWrapper

Collects error messages from validation
Inheritance: IValidationDictionary, IDataErrorInfo
Show file Open project: sapiens/cavemantools Class Usage Examples

Public Methods

Method 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 method

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

Clear() public method

public Clear ( ) : void
return void

CopyTo() public method

copies errors to another dictionary
public CopyTo ( IValidationDictionary other ) : void
other IValidationDictionary
return void

ShowErrors() public method

public ShowErrors ( ) : string
return string

this() public method

public this ( string columnName ) : string
columnName string
return string