| LogicErrors Class |
Namespace: Entelect.ErrorHandling
public class LogicErrors : Collection<LogicError>
The LogicErrors type exposes the following members.
| Name | Description | |
|---|---|---|
| LogicErrors |
A collection of LogicError
Contains a set of helper methods that makes working with multiple logic errors easier.
| |
| LogicErrors(LogicError) |
A collection of LogicError
Contains a set of helper methods that makes working with multiple logic errors easier.
| |
| LogicErrors(IEnumerableLogicError) |
A collection of LogicError
Contains a set of helper methods that makes working with multiple logic errors easier.
| |
| LogicErrors(IListLogicError) |
A collection of LogicError
Contains a set of helper methods that makes working with multiple logic errors easier.
|
| Name | Description | |
|---|---|---|
| Add | Adds an object to the end of the CollectionT. (Inherited from CollectionLogicError.) | |
| AddRange |
Adds the supplied logic errors to the collection
| |
| Clear | Removes all elements from the CollectionT. (Inherited from CollectionLogicError.) | |
| ClearItems | Removes all elements from the CollectionT. (Inherited from CollectionLogicError.) | |
| Contains | Determines whether an element is in the CollectionT. (Inherited from CollectionLogicError.) | |
| CopyTo | Copies the entire CollectionT to a compatible one-dimensional Array, starting at the specified index of the target array. (Inherited from CollectionLogicError.) | |
| 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.) | |
| GetCombinedMessages |
Returns a list of all the error messages in all logic errors.
| |
| GetEnumerator | Returns an enumerator that iterates through the CollectionT. (Inherited from CollectionLogicError.) | |
| GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| IndexOf | Searches for the specified object and returns the zero-based index of the first occurrence within the entire CollectionT. (Inherited from CollectionLogicError.) | |
| Insert | Inserts an element into the CollectionT at the specified index. (Inherited from CollectionLogicError.) | |
| InsertItem | Inserts an element into the CollectionT at the specified index. (Inherited from CollectionLogicError.) | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| Remove | Removes the first occurrence of a specific object from the CollectionT. (Inherited from CollectionLogicError.) | |
| RemoveAt | Removes the element at the specified index of the CollectionT. (Inherited from CollectionLogicError.) | |
| RemoveItem | Removes the element at the specified index of the CollectionT. (Inherited from CollectionLogicError.) | |
| SetItem | Replaces the element at the specified index. (Inherited from CollectionLogicError.) | |
| ThrowExceptionIfErrors |
Throws a LogicException with all errors in this list.
Will NOT throw an exception if there are no errors (duh!)
| |
| ToString | Returns a string that represents the current object. (Inherited from Object.) |
| Name | Description | |
|---|---|---|
| Count | Gets the number of elements actually contained in the CollectionT. (Inherited from CollectionLogicError.) | |
| HasErrors |
Checks if the current collection has any items
| |
| Item | Gets or sets the element at the specified index. (Inherited from CollectionLogicError.) | |
| Items | Gets a IListT wrapper around the CollectionT. (Inherited from CollectionLogicError.) |