Class EntityLocalizer
localizer for an entity
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 EntityLocalizer : PermissionedElementLocalizerConstructors
EntityLocalizer(String)
Initializes a new instance of the EntityLocalizer class.
Declaration
public EntityLocalizer(string name)Parameters
| Type | Name | Description | 
|---|---|---|
| System.String | name | the name of the entity being localized. | 
EntityLocalizer(EntityLocalizer)
Initializes a new instance of the EntityLocalizer class.
Declaration
public EntityLocalizer(EntityLocalizer source)Parameters
| Type | Name | Description | 
|---|---|---|
| EntityLocalizer | source | the source to copy from. | 
Properties
LogicalRelations
Gets the logical relations collection.
Declaration
public LocalizerCollection<LogicalRelationLocalizer> LogicalRelations { get; }Property Value
| Type | Description | 
|---|---|
| LocalizerCollection<LogicalRelationLocalizer> | 
Properties
Gets the properties collection.
Declaration
public LocalizerCollection<PropertyLocalizer> Properties { get; }Property Value
| Type | Description | 
|---|---|
| LocalizerCollection<PropertyLocalizer> | 
Relations
Gets the relations collection.
Declaration
public LocalizerCollection<RelationLocalizer> Relations { get; }Property Value
| Type | Description | 
|---|---|
| LocalizerCollection<RelationLocalizer> | 
ValidationRules
Gets the validation rules.
Declaration
public LocalizerCollection<ValidationRuleLocalizer> ValidationRules { get; }Property Value
| Type | Description | 
|---|---|
| LocalizerCollection<ValidationRuleLocalizer> | 
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 instances.
Declaration
public override ModelElementLocalizer Clone()Returns
| Type | Description | 
|---|---|
| ModelElementLocalizer | Returns a copy-constructed instance of itself. | 
Overrides
MergeFrom(ModelElementLocalizer)
merges update from the other localizer to this instance.
Declaration
public override void MergeFrom(ModelElementLocalizer source)Parameters
| Type | Name | Description | 
|---|---|---|
| ModelElementLocalizer | source | the source to merge from. | 
Overrides
RemoveLocalizations()
Removes the localizations for the elements.
Declaration
public override void RemoveLocalizations()