Class RelationLocalizer
class responsible for holding localization information for a relation.
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 RelationLocalizer : PermissionedElementLocalizer
Constructors
RelationLocalizer(String)
Initializes a new instance of the RelationLocalizer class.
Declaration
public RelationLocalizer(string name)
Parameters
Type | Name | Description |
---|---|---|
System.String | name | the name of the relation. |
RelationLocalizer(RelationLocalizer)
Initializes a new instance of the RelationLocalizer class.
Declaration
public RelationLocalizer(RelationLocalizer source)
Parameters
Type | Name | Description |
---|---|---|
RelationLocalizer | source | the source to copy from. |
Properties
BackReferenceFriendlyName
Gets the string localizer for the backreference friendly name
Declaration
public StringLocalizer BackReferenceFriendlyName { get; }
Property Value
Type | Description |
---|---|
StringLocalizer |
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 instance
Declaration
public override ModelElementLocalizer Clone()
Returns
Type | Description |
---|---|
ModelElementLocalizer | Returns a copy-constructed instance of itself. |
Overrides
MergeFrom(ModelElementLocalizer)
Merge the updates from the source.
Declaration
public override void MergeFrom(ModelElementLocalizer source)
Parameters
Type | Name | Description |
---|---|---|
ModelElementLocalizer | source | the source to merge from. |
Overrides
RemoveLocalizations()
Removes the localizations for this element and all nested permissions.
Declaration
public override void RemoveLocalizations()