C# Класс Tortuga.Anchor.Modeling.Internals.ErrorsDictionary

Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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

Приватные методы

Метод Описание
GetErrors ( string propertyName ) : ReadOnlyCollection

Gets the errors for a given property.

Описание методов

Clear() публичный Метод

Clears all errors
public Clear ( ) : ErrorsDictionaryUpdateType
Результат ErrorsDictionaryUpdateType

GetAllErrors() публичный Метод

Gets all of the errors.
public GetAllErrors ( ) : ReadOnlyCollection
Результат ReadOnlyCollection

HasErrors() публичный Метод

Determines whether this instance has errors.
public HasErrors ( ) : bool
Результат bool

SetErrors() публичный Метод

Set the errors at the object level
public SetErrors ( IList errors, HashSet &affectedProperties ) : ErrorsDictionaryUpdateType
errors IList The errors.
affectedProperties HashSet The affected properties.
Результат ErrorsDictionaryUpdateType

SetErrors() публичный Метод

Sets the errors at the property level
public SetErrors ( string propertyName, IList errors ) : ErrorsDictionaryUpdateType
propertyName string Name of the property.
errors IList The errors.
Результат ErrorsDictionaryUpdateType