Метод | Описание | |
---|---|---|
Clear ( ) : ErrorsDictionaryUpdateType |
Clears all errors
|
|
GetAllErrors ( ) : ReadOnlyCollection |
Gets all of the errors.
|
|
HasErrors ( ) : bool |
Determines whether this instance has errors.
|
|
SetErrors ( IList |
Set the errors at the object level
|
|
SetErrors ( string propertyName, IList |
Sets the errors at the property level
|
Метод | Описание | |
---|---|---|
GetErrors ( string propertyName ) : ReadOnlyCollection |
Gets the errors for a given property.
|
public Clear ( ) : ErrorsDictionaryUpdateType | ||
Результат | ErrorsDictionaryUpdateType |
public GetAllErrors ( ) : ReadOnlyCollection |
||
Результат | ReadOnlyCollection |
public SetErrors ( IList |
||
errors | IList |
The errors. |
affectedProperties | HashSet |
The affected properties. |
Результат | ErrorsDictionaryUpdateType |
public SetErrors ( string propertyName, IList |
||
propertyName | string | Name of the property. |
errors | IList |
The errors. |
Результат | ErrorsDictionaryUpdateType |