Table of Contents

Class RelationLocalizer

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

class responsible for holding localization information for a relation.

public class RelationLocalizer : PermissionedElementLocalizer
Inheritance
Object
RelationLocalizer
Inherited Members
Object.ToString()
Object.Equals(Object)
Object.Equals(Object, Object)
Object.ReferenceEquals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Extension Methods

Constructors

RelationLocalizer(String)

Initializes a new instance of the RelationLocalizer class.

public RelationLocalizer(string name)

Parameters

name String

the name of the relation.

RelationLocalizer(RelationLocalizer)

Initializes a new instance of the RelationLocalizer class.

public RelationLocalizer(RelationLocalizer source)

Parameters

source RelationLocalizer

the source to copy from.

Properties

BackReferenceFriendlyName

Gets the string localizer for the backreference friendly name

public StringLocalizer BackReferenceFriendlyName { get; }

Property Value

StringLocalizer

Methods

Accept(LocalizerVisitor)

accepts a visitor.

public override void Accept(LocalizerVisitor visitor)

Parameters

visitor LocalizerVisitor

the visitor to accept.

Clone()

Clones this instance

public override ModelElementLocalizer Clone()

Returns

ModelElementLocalizer

Returns a copy-constructed instance of itself.

MergeFrom(ModelElementLocalizer)

Merge the updates from the source.

public override void MergeFrom(ModelElementLocalizer source)

Parameters

source ModelElementLocalizer

the source to merge from.

RemoveLocalizations()

Removes the localizations for this element and all nested permissions.

public override void RemoveLocalizations()