Search Results for

    Show / Hide Table of Contents

    Class PropertyNotNullValidator

    Validator to check whether a property is null

    Inheritance
    System.Object
    PropertyNotNullValidator
    Implements
    IPropertyValidator
    Inherited Members
    System.Object.ToString()
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    Namespace: Simplic.UI.MVC
    Assembly: Simplic.UI.dll
    Syntax
    public class PropertyNotNullValidator : IPropertyValidator

    Properties

    | Improve this Doc View Source

    Message

    Gets the error message

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

    Name

    Gets the name of the validator

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

    Methods

    | Improve this Doc View Source

    Validate(Object)

    Gets whether value is null

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

    Value to validate

    Returns
    Type Description
    System.Boolean

    If value == null that false well be returned, else false

    Implements

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