Search Results for

    Show / Hide Table of Contents

    Class ValidationRuleLocalizer

    localizer for validation rules.

    Inheritance
    System.Object
    ModelElementLocalizer
    ValidationRuleLocalizer
    Inherited Members
    ModelElementLocalizer.RemoveLocalizations()
    ModelElementLocalizer.Name
    ModelElementLocalizer.FriendlyName
    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: TimeCockpit.Data.Localization.Default
    Assembly: TimeCockpit.Data.dll
    Syntax
    public class ValidationRuleLocalizer : ModelElementLocalizer

    Constructors

    ValidationRuleLocalizer(String)

    Initializes a new instance of the ValidationRuleLocalizer class.

    Declaration
    public ValidationRuleLocalizer(string name)
    Parameters
    Type Name Description
    System.String name

    the name of the validation rule.

    ValidationRuleLocalizer(ValidationRuleLocalizer)

    Initializes a new instance of the ValidationRuleLocalizer class. Copy Constructor.

    Declaration
    public ValidationRuleLocalizer(ValidationRuleLocalizer source)
    Parameters
    Type Name Description
    ValidationRuleLocalizer source

    the source to copy from.

    Properties

    ErrorMessage

    Gets the localizer for the error message of the validation rule.

    Declaration
    public StringLocalizer ErrorMessage { get; }
    Property Value
    Type Description
    StringLocalizer

    Methods

    Accept(LocalizerVisitor)

    Accepts a visitor.

    Declaration
    public override void Accept(LocalizerVisitor visitor)
    Parameters
    Type Name Description
    LocalizerVisitor visitor

    the visitor to accept.

    Overrides
    ModelElementLocalizer.Accept(LocalizerVisitor)

    Clone()

    Clones this instance.

    Declaration
    public override ModelElementLocalizer Clone()
    Returns
    Type Description
    ModelElementLocalizer

    Returns a copy-constructed instance of this.

    Overrides
    ModelElementLocalizer.Clone()

    MergeFrom(ModelElementLocalizer)

    Merge the updates from the source.

    Declaration
    public override void MergeFrom(ModelElementLocalizer source)
    Parameters
    Type Name Description
    ModelElementLocalizer source

    the source to merge from.

    Overrides
    ModelElementLocalizer.MergeFrom(ModelElementLocalizer)

    Extension Methods

    ClearDirtyFlagVisitorHelper.ClearDirtyFlag(ModelElementLocalizer)
    DistinctCultureCollectVisitorHelper.GetCultures(ModelElementLocalizer)
    In This Article
    Back to top Copyright © 2020 software architects gmbh