Class PermissionedElementLocalizer
- Assembly
- TimeCockpit.Data.dll
class representing a localizer for ModelElementLocalizers having permissions.
public abstract class PermissionedElementLocalizer : ModelElementLocalizer
- Inheritance
-
ObjectPermissionedElementLocalizer
- 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
PermissionedElementLocalizer(String)
Initializes a new instance of the PermissionedElementLocalizer class.
public PermissionedElementLocalizer(string name)
Parameters
nameStringthe name of the element to localize.
PermissionedElementLocalizer(PermissionedElementLocalizer)
Initializes a new instance of the PermissionedElementLocalizer class.
public PermissionedElementLocalizer(PermissionedElementLocalizer source)
Parameters
sourcePermissionedElementLocalizerthe source to copy-construct from.
Properties
Permissions
Gets the permissions.
public LocalizerCollection<PermissionLocalizer> Permissions { get; }
Property Value
Methods
Accept(LocalizerVisitor)
Accepts a LocalizerVisitor, visiting the permission and calling Accept(LocalizerVisitor).
public override void Accept(LocalizerVisitor visitor)
Parameters
visitorLocalizerVisitorthe visitor to accept.
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()