Table of Contents

Class ValidationRuleLocalizer

Namespace
TimeCockpit.Data.Localization.Default
Assembly
TimeCockpit.Data.dll

localizer for validation rules.

public class ValidationRuleLocalizer : ModelElementLocalizer
Inheritance
Object
ValidationRuleLocalizer
Inherited Members
Object.ToString()
Object.Equals(Object)
Object.Equals(Object, Object)
Object.ReferenceEquals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Extension Methods

Constructors

ValidationRuleLocalizer(String)

Initializes a new instance of the ValidationRuleLocalizer class.

public ValidationRuleLocalizer(string name)

Parameters

name String

the name of the validation rule.

ValidationRuleLocalizer(ValidationRuleLocalizer)

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

public ValidationRuleLocalizer(ValidationRuleLocalizer source)

Parameters

source ValidationRuleLocalizer

the source to copy from.

Properties

ErrorMessage

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

public StringLocalizer ErrorMessage { get; }

Property Value

StringLocalizer

Methods

Accept(LocalizerVisitor)

Accepts a visitor.

public override void Accept(LocalizerVisitor visitor)

Parameters

visitor LocalizerVisitor

the visitor to accept.

Clone()

Clones this instance.

public override ModelElementLocalizer Clone()

Returns

ModelElementLocalizer

Returns a copy-constructed instance of this.

MergeFrom(ModelElementLocalizer)

Merge the updates from the source.

public override void MergeFrom(ModelElementLocalizer source)

Parameters

source ModelElementLocalizer

the source to merge from.