Click or drag to resize
LogicErrors Class
A collection of LogicError Contains a set of helper methods that makes working with multiple logic errors easier.
Inheritance Hierarchy
SystemObject
  System.Collections.ObjectModelCollectionLogicError
    Entelect.ErrorHandlingLogicErrors

Namespace: Entelect.ErrorHandling
Assembly: Entelect (in Entelect.dll) Version: 0.0.79
Syntax
C#
public class LogicErrors : Collection<LogicError>

The LogicErrors type exposes the following members.

Constructors
  NameDescription
Public methodLogicErrors
A collection of LogicError Contains a set of helper methods that makes working with multiple logic errors easier.
Public methodLogicErrors(LogicError)
A collection of LogicError Contains a set of helper methods that makes working with multiple logic errors easier.
Public methodLogicErrors(IEnumerableLogicError)
A collection of LogicError Contains a set of helper methods that makes working with multiple logic errors easier.
Public methodLogicErrors(IListLogicError)
A collection of LogicError Contains a set of helper methods that makes working with multiple logic errors easier.
Top
Methods
  NameDescription
Public methodAdd
Adds an object to the end of the CollectionT.
(Inherited from CollectionLogicError.)
Public methodAddRange
Adds the supplied logic errors to the collection
Public methodClear
Removes all elements from the CollectionT.
(Inherited from CollectionLogicError.)
Protected methodClearItems
Removes all elements from the CollectionT.
(Inherited from CollectionLogicError.)
Public methodContains
Determines whether an element is in the CollectionT.
(Inherited from CollectionLogicError.)
Public methodCopyTo
Copies the entire CollectionT to a compatible one-dimensional Array, starting at the specified index of the target array.
(Inherited from CollectionLogicError.)
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 methodGetCombinedMessages
Returns a list of all the error messages in all logic errors.
Public methodGetEnumerator
Returns an enumerator that iterates through the CollectionT.
(Inherited from CollectionLogicError.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodIndexOf
Searches for the specified object and returns the zero-based index of the first occurrence within the entire CollectionT.
(Inherited from CollectionLogicError.)
Public methodInsert
Inserts an element into the CollectionT at the specified index.
(Inherited from CollectionLogicError.)
Protected methodInsertItem
Inserts an element into the CollectionT at the specified index.
(Inherited from CollectionLogicError.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodRemove
Removes the first occurrence of a specific object from the CollectionT.
(Inherited from CollectionLogicError.)
Public methodRemoveAt
Removes the element at the specified index of the CollectionT.
(Inherited from CollectionLogicError.)
Protected methodRemoveItem
Removes the element at the specified index of the CollectionT.
(Inherited from CollectionLogicError.)
Protected methodSetItem
Replaces the element at the specified index.
(Inherited from CollectionLogicError.)
Public methodThrowExceptionIfErrors
Throws a LogicException with all errors in this list. Will NOT throw an exception if there are no errors (duh!)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Properties
  NameDescription
Public propertyCount
Gets the number of elements actually contained in the CollectionT.
(Inherited from CollectionLogicError.)
Public propertyHasErrors
Checks if the current collection has any items
Public propertyItem
Gets or sets the element at the specified index.
(Inherited from CollectionLogicError.)
Protected propertyItems
Gets a IListT wrapper around the CollectionT.
(Inherited from CollectionLogicError.)
Top
See Also