C# 클래스 Tortuga.Anchor.Modeling.Internals.ErrorsDictionary

파일 보기 프로젝트 열기: docevaad/Anchor 1 사용 예제들

공개 메소드들

메소드 설명
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