AX#

Search Results for

    Show / Hide Table of Contents

    Class OnlinerValidationRule<T>

    Generic class provides base for tags validation rules.

    Inheritance
    object
    OnlinerValidationRule<T>
    BoolValueValidationRule
    ByteValueValidationRule
    CharValueValidationRule
    DWordValueValidationRule
    DateTimeValueValidationRule
    DateValueValidationRule
    DintValueValidationRule
    IntValueValidationRule
    LDateTimeValueValidationRule
    LIntValueValidationRule
    LRealValueValidationRule
    LTimeOfDayValueValidationRule
    LTimeValueValidationRule
    LWordValueValidationRule
    RealValueValidationRule
    SIntValueValidationRule
    StringValueValidationRule
    TimeOfDayValueValidationRule
    TimeValueValidationRule
    UDIntValueValidationRule
    UIntValueValidationRule
    ULIntValueValidationRule
    USintValueValidationRule
    WCharValueValidationRule
    WStringValueValidationRule
    WordValueValidationRule
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: AXSharp.Connector.ValueValidation
    Assembly: AXSharp.Connector.dll
    Syntax
    public abstract class OnlinerValidationRule<T>
    Type Parameters
    Name Description
    T

    Constructors

    | Edit this page View Source

    OnlinerValidationRule(IValueBoundaries<T>)

    Initializes a new instance of the ByteValueValidationRule class.

    Declaration
    protected OnlinerValidationRule(IValueBoundaries<T> onliner)
    Parameters
    Type Name Description
    IValueBoundaries<T> onliner

    Onliner type.

    Properties

    | Edit this page View Source

    Max

    Gets the max. allowed value.

    Declaration
    public T Max { get; }
    Property Value
    Type Description
    T
    | Edit this page View Source

    Min

    Gets the min. allowed value.

    Declaration
    public T Min { get; }
    Property Value
    Type Description
    T
    | Edit this page View Source

    ValidationErrorTip

    Provides validation tip.

    Declaration
    public string ValidationErrorTip { get; protected set; }
    Property Value
    Type Description
    string

    Methods

    | Edit this page View Source

    Validate(T, CultureInfo)

    Validates value.

    Declaration
    public abstract ValidationResult Validate(T value, CultureInfo culture)
    Parameters
    Type Name Description
    T value

    Value to be validated.

    CultureInfo culture

    Culture.

    Returns
    Type Description
    ValidationResult
    • Edit this page
    • View Source
    In this article
    Back to top Generated by DocFx. © MTS spol. s r.o., MTS spol. s r.o., and awesome contributors