ValidationResults Members

The ValidationResults type exposes the following members.

  Name Description
Public method ValidationResults

Initializes a new instance of the ValidationResults class with the section name.

  Name Description
Public method AddAllResults

Adds all the ValidationResult instances from sourceValidationResults.

Public method AddResult
Public method Equals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected method Finalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public method FindAll
Returns a new instance of ValidationResults that includes the results from the receiver that match the provided tag names.
Public method GetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public method GetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected method MemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public method ToString
Returns a string that represents the current object.
(Inherited from Object.)

  Name Description
Public Extension Method ForEach<ValidationResult>
Execute action for each element of sequence.
(Defined by EnumerableExtensions.)
Public Extension Method ToDictionary<ValidationResult, TValue>
Take two sequences and return a IDictionary<TKey, TValue> with the first sequence holding the keys and the corresponding elements of the second sequence containing the values.
(Defined by EnumerableExtensions.)
Public Extension Method Zip<ValidationResult, T2>(IEnumerable<T2>) Overloaded.
Take two sequences and return a new sequence of KeyValuePair<TKey, TValue> objects.
(Defined by EnumerableExtensions.)
Public Extension Method Zip<ValidationResult, T2, TResult>(IEnumerable<T2>, Func<ValidationResult, T2, TResult>) Overloaded.
Given a sequence, combine it with another sequence, passing the corresponding elements of each sequence to the zipper action to create a new single value from the two sequence elements. "Zip" here refers to a zipper, not the compression algorithm. The resulting sequence will have the same number of elements as the shorter of sequence1 and sequence2.
(Defined by EnumerableExtensions.)

  Name Description
Public property Count
Gets the count of results.
Public property IsValid
Gets the indication of whether the validation represented by the receiver was successful.