Table of Contents

Class PermissionedElementLocalizer

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

class representing a localizer for ModelElementLocalizers having permissions.

public abstract class PermissionedElementLocalizer : ModelElementLocalizer
Inheritance
Object
PermissionedElementLocalizer
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

name String

the name of the element to localize.

PermissionedElementLocalizer(PermissionedElementLocalizer)

Initializes a new instance of the PermissionedElementLocalizer class.

public PermissionedElementLocalizer(PermissionedElementLocalizer source)

Parameters

source PermissionedElementLocalizer

the source to copy-construct from.

Properties

Permissions

Gets the permissions.

public LocalizerCollection<PermissionLocalizer> Permissions { get; }

Property Value

LocalizerCollection<PermissionLocalizer>

Methods

Accept(LocalizerVisitor)

Accepts a LocalizerVisitor, visiting the permission and calling Accept(LocalizerVisitor).

public override void Accept(LocalizerVisitor visitor)

Parameters

visitor LocalizerVisitor

the visitor to accept.

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()