Class ValidationRuleLocalizer
- Assembly
- TimeCockpit.Data.dll
localizer for validation rules.
public class ValidationRuleLocalizer : ModelElementLocalizer
- Inheritance
-
ObjectValidationRuleLocalizer
- 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
nameStringthe name of the validation rule.
ValidationRuleLocalizer(ValidationRuleLocalizer)
Initializes a new instance of the ValidationRuleLocalizer class. Copy Constructor.
public ValidationRuleLocalizer(ValidationRuleLocalizer source)
Parameters
sourceValidationRuleLocalizerthe source to copy from.
Properties
ErrorMessage
Gets the localizer for the error message of the validation rule.
public StringLocalizer ErrorMessage { get; }
Property Value
Methods
Accept(LocalizerVisitor)
Accepts a visitor.
public override void Accept(LocalizerVisitor visitor)
Parameters
visitorLocalizerVisitorthe 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
sourceModelElementLocalizerthe source to merge from.