Search Results for

    Show / Hide Table of Contents

    Interface IValidator

    Defines an interface for a data validator.

    Namespace: MADE.Data.Validation
    Assembly: MADE.Data.Validation.dll
    Syntax
    public interface IValidator

    Properties

    | Improve this Doc View Source

    FeedbackMessage

    Gets or sets the feedback message to display when IsInvalid is true.

    Declaration
    string FeedbackMessage { get; set; }
    Property Value
    Type Description
    System.String
    | Improve this Doc View Source

    IsDirty

    Gets or sets a value indicating whether the data is dirty.

    Declaration
    bool IsDirty { get; set; }
    Property Value
    Type Description
    System.Boolean
    | Improve this Doc View Source

    IsInvalid

    Gets or sets a value indicating whether the data provided is in an invalid state.

    Declaration
    bool IsInvalid { get; set; }
    Property Value
    Type Description
    System.Boolean
    | Improve this Doc View Source

    Key

    Gets or sets the key associated with the validator.

    Declaration
    string Key { get; set; }
    Property Value
    Type Description
    System.String

    Methods

    | Improve this Doc View Source

    Validate(Object)

    Executes data validation on the provided value.

    Declaration
    void Validate(object value)
    Parameters
    Type Name Description
    System.Object value

    The value to be validated.

    Extension Methods

    ReflectionExtensions.GetPropertyValue<T>(Object, String)
    ReflectionExtensions.GetPropertyNames(Object)
    • Improve this Doc
    • View Source
    In This Article
    Back to top Copyright (c) MADE Apps