Unosquare
    Show / Hide Table of Contents

    Class ObjectValidationResult.ValidationError

    Defines a validation error.

    Inheritance
    Object
    ObjectValidationResult.ValidationError
    Inherited Members
    Object.ToString()
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Namespace: Swan.Validators
    Syntax
    public class ValidationError

    Constructors

    ValidationError(String, String)

    Initializes a new instance of the ObjectValidationResult.ValidationError class.

    Declaration
    public ValidationError(string propertyName, string errorMessage)
    Parameters
    Type Name Description
    String propertyName

    Name of the property.

    String errorMessage

    The error message.

    Properties

    ErrorMessage

    The message error.

    Declaration
    public string ErrorMessage { get; }
    Property Value
    Type Description
    String

    PropertyName

    The property name.

    Declaration
    public string PropertyName { get; }
    Property Value
    Type Description
    String

    Comments

    Back to top Copyright © 2017-2019 Unosquare