Search Results for

    Show / Hide Table of Contents

    Interface IPropertyValidator

    Property validator

    Namespace: Simplic.UI.MVC
    Assembly: Simplic.UI.dll
    Syntax
    public interface IPropertyValidator

    Properties

    | Improve this Doc View Source

    Message

    Gets the default message for this validator

    Declaration
    [Browsable(false)]
    IValidationErrorMessage Message { get; }
    Property Value
    Type Description
    IValidationErrorMessage
    | Improve this Doc View Source

    Name

    Gets the name of the validator

    Declaration
    [Browsable(false)]
    string Name { get; }
    Property Value
    Type Description
    System.String

    Methods

    | Improve this Doc View Source

    Validate(Object)

    Execute a value validation

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

    Value to validate

    Returns
    Type Description
    System.Boolean

    Return true if the value is valid, else false

    • Improve this Doc
    • View Source
    In This Article
    Back to top Copyright © 2018 SIMPLIC GmbH
    Generated by DocFx