Class EntityLocalizer
- Assembly
- TimeCockpit.Data.dll
localizer for an entity
public class EntityLocalizer : PermissionedElementLocalizer
- Inheritance
-
ObjectEntityLocalizer
- Inherited Members
-
Object.ToString()Object.Equals(Object)Object.Equals(Object, Object)Object.ReferenceEquals(Object, Object)Object.GetHashCode()Object.GetType()Object.MemberwiseClone()
- Extension Methods
Constructors
EntityLocalizer(String)
Initializes a new instance of the EntityLocalizer class.
public EntityLocalizer(string name)
Parameters
nameStringthe name of the entity being localized.
EntityLocalizer(EntityLocalizer)
Initializes a new instance of the EntityLocalizer class.
public EntityLocalizer(EntityLocalizer source)
Parameters
sourceEntityLocalizerthe source to copy from.
Properties
LogicalRelations
Gets the logical relations collection.
public LocalizerCollection<LogicalRelationLocalizer> LogicalRelations { get; }
Property Value
Properties
Gets the properties collection.
public LocalizerCollection<PropertyLocalizer> Properties { get; }
Property Value
Relations
Gets the relations collection.
public LocalizerCollection<RelationLocalizer> Relations { get; }
Property Value
ValidationRules
Gets the validation rules.
public LocalizerCollection<ValidationRuleLocalizer> ValidationRules { get; }
Property Value
Methods
Accept(LocalizerVisitor)
Accepts a visitor.
public override void Accept(LocalizerVisitor visitor)
Parameters
visitorLocalizerVisitorthe visitor to accept.
Clone()
clones this instances.
public override ModelElementLocalizer Clone()
Returns
- ModelElementLocalizer
Returns a copy-constructed instance of itself.
MergeFrom(ModelElementLocalizer)
merges update from the other localizer to this instance.
public override void MergeFrom(ModelElementLocalizer source)
Parameters
sourceModelElementLocalizerthe source to merge from.
RemoveLocalizations()
Removes the localizations for the elements.
public override void RemoveLocalizations()