Click or drag to resize
ErrorContainer Methods

The ErrorContainer type exposes the following members.

Methods
  NameDescription
Public methodAppendPropertyError(String, String)
Appends the property error to an existing error for that property. Appends a newline first.
Public methodAppendPropertyError(String, String, Boolean)
Appends the property error to an existing error for that property. Appends a newline first.
Public methodAppendPropertyError(String, String, String)
Appends the property error to an existing error for that property. Appends the lineSeparator to the existing error first.
Public methodAppendPropertyError(String, String, String, Boolean)
Appends the property error to an existing error for that property. Appends the lineSeparator to the existing error first.
Public methodClearErrors
Clears the errors contained in this container
Public methodConvertToNewLineDelimitedList
Converts all property-error pairs to a new-line delimited string .
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetAllPropertyNamesWithErrors
Gets all property names with errors stored in this errorcontainer. Use the names to index into this container to obtain the error for this particular property. Properties with an empty string as error are ignored.
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodSetPropertyError(String, String)
Sets the property error. If an empty errorDescription is passed in, the error information is cleared. Always logs a hard error.
Public methodSetPropertyError(String, String, Boolean)
Sets the property error. If an empty errorDescription is passed in, the error information is cleared.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also