Method | Description | |
---|---|---|
this ( string propertyName ) : string |
Gets the error message for the property with the given name.
|
Method | Description | |
---|---|---|
AddError ( string propertyName, string message ) : void |
Adds an error to the errors dictionary.
|
|
ValidateProperty ( string propertyName ) : void |
Validates a property.
|
Method | Description | |
---|---|---|
OnDeserializing ( |
||
RemoveError ( string propertyName ) : void |
Removes an error from the errors dictionary.
|
protected AddError ( string propertyName, string message ) : void | ||
propertyName | string | Name of the property for which an error should be added. |
message | string | Error message that will be shown to the user. |
return | void |
protected ValidateProperty ( string propertyName ) : void | ||
propertyName | string | Name of the property to validate. |
return | void |
public this ( string propertyName ) : string | ||
propertyName | string | The name of the property whose error message to get. |
return | string |