Share via


ErrorsContainer<T> Members

Include Protected Members
Include Inherited Members

The ErrorsContainer<T> type exposes the following members.

Constructors

  Name Description
Public method ErrorsContainer<T>
Initializes a new instance of the ErrorsContainer<T> class.

Methods

  Name Description
Public method ClearErrors(String)
Clears the errors for a property.
Public method ClearErrors<TProperty>(Expression<Func<TProperty>>)
Clears the errors for the property indicated by the property expression.
Public method Equals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected method Finalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Public method GetErrors
Gets the validation errors for a specified property.
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 SetErrors(String, IEnumerable<T>)
Sets the validation errors for the specified property.
Public method SetErrors<TProperty>(Expression<Func<TProperty>>, IEnumerable<T>)
Sets the validation errors for the specified property.
Public method ToString
Returns a String that represents the current Object.
(Inherited from Object.)

Properties

  Name Description
Public property HasErrors
Gets a value indicating whether the object has validation errors.

See Also

ErrorsContainer<T> Class

Microsoft.Practices.Prism.ViewModel Namespace