Class RelationLocalizer
- Assembly
- TimeCockpit.Data.dll
class responsible for holding localization information for a relation.
public class RelationLocalizer : PermissionedElementLocalizer
- Inheritance
-
ObjectRelationLocalizer
- 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
nameStringthe name of the relation.
RelationLocalizer(RelationLocalizer)
Initializes a new instance of the RelationLocalizer class.
public RelationLocalizer(RelationLocalizer source)
Parameters
sourceRelationLocalizerthe source to copy from.
Properties
BackReferenceFriendlyName
Gets the string localizer for the backreference friendly name
public StringLocalizer BackReferenceFriendlyName { get; }
Property Value
Methods
Accept(LocalizerVisitor)
accepts a visitor.
public override void Accept(LocalizerVisitor visitor)
Parameters
visitorLocalizerVisitorthe 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
sourceModelElementLocalizerthe source to merge from.
RemoveLocalizations()
Removes the localizations for this element and all nested permissions.
public override void RemoveLocalizations()