Search Results for

    Show / Hide Table of Contents

    Class PermissionedElementLocalizer

    class representing a localizer for ModelElementLocalizers having permissions.

    Inheritance
    System.Object
    ModelElementLocalizer
    PermissionedElementLocalizer
    ActionLocalizer
    EntityLocalizer
    EntityViewLocalizer
    LogicalRelationLocalizer
    PropertyLocalizer
    RelationLocalizer
    Inherited Members
    ModelElementLocalizer.Clone()
    ModelElementLocalizer.Name
    ModelElementLocalizer.FriendlyName
    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
    ModelElementLocalizer.Accept(LocalizerVisitor)

    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
    ModelElementLocalizer.MergeFrom(ModelElementLocalizer)

    RemoveLocalizations()

    Removes the localizations for this element and all nested permissions.

    Declaration
    public override void RemoveLocalizations()
    Overrides
    ModelElementLocalizer.RemoveLocalizations()

    Extension Methods

    ClearDirtyFlagVisitorHelper.ClearDirtyFlag(ModelElementLocalizer)
    DistinctCultureCollectVisitorHelper.GetCultures(ModelElementLocalizer)
    In This Article
    Back to top Copyright © 2020 software architects gmbh