Table of Contents

Class ModelElementLocalizer

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

Base class for all localizer classes that localize model elements.

public abstract class ModelElementLocalizer
Inheritance
Object
ModelElementLocalizer
Derived
Inherited Members
Object.ToString()
Object.Equals(Object)
Object.Equals(Object, Object)
Object.ReferenceEquals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Extension Methods

Constructors

ModelElementLocalizer(String)

Initializes a new instance of the ModelElementLocalizer class.

public ModelElementLocalizer(string name)

Parameters

name String

the name of the element.

ModelElementLocalizer(ModelElementLocalizer)

Initializes a new instance of the ModelElementLocalizer class.

public ModelElementLocalizer(ModelElementLocalizer source)

Parameters

source ModelElementLocalizer

the source to copy from.

Properties

FriendlyName

Gets the StringLocalizer for the friendly name;

public StringLocalizer FriendlyName { get; }

Property Value

StringLocalizer

Name

Gets the name of the element.

public string Name { get; }

Property Value

String

Methods

Accept(LocalizerVisitor)

accepts a visitor for the elements

public virtual void Accept(LocalizerVisitor visitor)

Parameters

visitor LocalizerVisitor

the visitor to accept

Clone()

clones the localizer.

public abstract ModelElementLocalizer Clone()

Returns

ModelElementLocalizer

a deep copy of the localizer.

MergeFrom(ModelElementLocalizer)

Merges names from the source to this.

public virtual void MergeFrom(ModelElementLocalizer source)

Parameters

source ModelElementLocalizer

the source to merge from.

RemoveLocalizations()

Removes all cultures.

public virtual void RemoveLocalizations()