Class ValidationRuleLocalizer
localizer for validation rules.
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: 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
Clone()
Clones this instance.
Declaration
public override ModelElementLocalizer Clone()
Returns
Type | Description |
---|---|
ModelElementLocalizer | Returns a copy-constructed instance of this. |
Overrides
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. |