Validation Framework
Search Results for

    Show / Hide Table of Contents

    Interface IValidator<T>

    Defines a contract for validators that can validate values of type T.

    Namespace: ValidationFramework
    Assembly: ValidationFramework.dll
    Syntax
    public interface IValidator<T>
    Type Parameters
    Name Description
    T

    The type of value to validate.

    Methods

    | Edit this page View Source

    Validate(T)

    Validates the specified value.

    Declaration
    ValidationResult Validate(T value)
    Parameters
    Type Name Description
    T value

    The value to validate.

    Returns
    Type Description
    ValidationResult

    A ValidationResult indicating whether the validation succeeded.

    • Edit this page
    • View Source
    In this article
    Back to top Generated by DocFX