ValidationError Class

Validation error class.

Definition

Namespace: Aliquo.Windows.Models
Assembly: Aliquo.Windows (in Aliquo.Windows.dll) Version: 5.0.9179.22654
C#
public class ValidationError
Inheritance
Object    ValidationError

Remarks

Model to contain information on data validation errors.

Constructors

ValidationErrorInitializes a new instance of the ValidationError class

Properties

Error Gets or sets the object that provides information about the error.
PropertyName Gets or sets the name of the property associated with the error.

Methods

ToString Get a string that represents the current error.
(Overrides ObjectToString)

Extension Methods

GetAttributeFromT Get attribute from a class.
(Defined by ObjectExtensions)
ValidateDataAnnotations Validate class with validator of DataAnnotations.
(Defined by ObjectExtensions)

See Also