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