ErrorContainer Methods |
The ErrorContainer type exposes the following members.
Name | Description | |
---|---|---|
AppendPropertyError(String, String) |
Appends the property error to an existing error for that property. Appends a newline first.
| |
AppendPropertyError(String, String, Boolean) |
Appends the property error to an existing error for that property. Appends a newline first.
| |
AppendPropertyError(String, String, String) |
Appends the property error to an existing error for that property. Appends the lineSeparator to the existing error first.
| |
AppendPropertyError(String, String, String, Boolean) |
Appends the property error to an existing error for that property. Appends the lineSeparator to the existing error first.
| |
ClearErrors |
Clears the errors contained in this container
| |
ConvertToNewLineDelimitedList |
Converts all property-error pairs to a new-line delimited string .
| |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetAllPropertyNamesWithErrors |
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.
| |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
SetPropertyError(String, String) |
Sets the property error. If an empty errorDescription is passed in, the error information is cleared. Always logs a hard error.
| |
SetPropertyError(String, String, Boolean) |
Sets the property error. If an empty errorDescription is passed in, the error information is cleared.
| |
ToString | Returns a string that represents the current object. (Inherited from Object.) |