Table of Contents

Class EntityLocalizer

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

localizer for an entity

public class EntityLocalizer : PermissionedElementLocalizer
Inheritance
Object
EntityLocalizer
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

name String

the name of the entity being localized.

EntityLocalizer(EntityLocalizer)

Initializes a new instance of the EntityLocalizer class.

public EntityLocalizer(EntityLocalizer source)

Parameters

source EntityLocalizer

the source to copy from.

Properties

LogicalRelations

Gets the logical relations collection.

public LocalizerCollection<LogicalRelationLocalizer> LogicalRelations { get; }

Property Value

LocalizerCollection<LogicalRelationLocalizer>

Properties

Gets the properties collection.

public LocalizerCollection<PropertyLocalizer> Properties { get; }

Property Value

LocalizerCollection<PropertyLocalizer>

Relations

Gets the relations collection.

public LocalizerCollection<RelationLocalizer> Relations { get; }

Property Value

LocalizerCollection<RelationLocalizer>

ValidationRules

Gets the validation rules.

public LocalizerCollection<ValidationRuleLocalizer> ValidationRules { get; }

Property Value

LocalizerCollection<ValidationRuleLocalizer>

Methods

Accept(LocalizerVisitor)

Accepts a visitor.

public override void Accept(LocalizerVisitor visitor)

Parameters

visitor LocalizerVisitor

the 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

source ModelElementLocalizer

the source to merge from.

RemoveLocalizations()

Removes the localizations for the elements.

public override void RemoveLocalizations()