C# Class Tortuga.Anchor.Modeling.Internals.ErrorsDictionary

Afficher le fichier Open project: docevaad/Anchor Class Usage Examples

Méthodes publiques

Méthode Description
Clear ( ) : ErrorsDictionaryUpdateType

Clears all errors

GetAllErrors ( ) : ReadOnlyCollection

Gets all of the errors.

HasErrors ( ) : bool

Determines whether this instance has errors.

SetErrors ( IList errors, HashSet &affectedProperties ) : ErrorsDictionaryUpdateType

Set the errors at the object level

SetErrors ( string propertyName, IList errors ) : ErrorsDictionaryUpdateType

Sets the errors at the property level

Private Methods

Méthode Description
GetErrors ( string propertyName ) : ReadOnlyCollection

Gets the errors for a given property.

Method Details

Clear() public méthode

Clears all errors
public Clear ( ) : ErrorsDictionaryUpdateType
Résultat ErrorsDictionaryUpdateType

GetAllErrors() public méthode

Gets all of the errors.
public GetAllErrors ( ) : ReadOnlyCollection
Résultat ReadOnlyCollection

HasErrors() public méthode

Determines whether this instance has errors.
public HasErrors ( ) : bool
Résultat bool

SetErrors() public méthode

Set the errors at the object level
public SetErrors ( IList errors, HashSet &affectedProperties ) : ErrorsDictionaryUpdateType
errors IList The errors.
affectedProperties HashSet The affected properties.
Résultat ErrorsDictionaryUpdateType

SetErrors() public méthode

Sets the errors at the property level
public SetErrors ( string propertyName, IList errors ) : ErrorsDictionaryUpdateType
propertyName string Name of the property.
errors IList The errors.
Résultat ErrorsDictionaryUpdateType