Search Results for

    Show / Hide Table of Contents

    Class PermissionLocalizer

    class representing localization information for a permission.

    Inheritance
    System.Object
    ModelElementLocalizer
    PermissionLocalizer
    Inherited Members
    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 class PermissionLocalizer : ModelElementLocalizer

    Constructors

    PermissionLocalizer(String)

    Initializes a new instance of the PermissionLocalizer class.

    Declaration
    public PermissionLocalizer(string name)
    Parameters
    Type Name Description
    System.String name

    the name of the permission.

    PermissionLocalizer(PermissionLocalizer)

    Initializes a new instance of the PermissionLocalizer class.

    Declaration
    public PermissionLocalizer(PermissionLocalizer source)
    Parameters
    Type Name Description
    PermissionLocalizer source

    the source to copy from.

    Properties

    ErrorMessage

    Gets the localization information for the error message property.

    Declaration
    public StringLocalizer ErrorMessage { get; }
    Property Value
    Type Description
    StringLocalizer

    Methods

    Accept(LocalizerVisitor)

    accepts the localizer.

    Declaration
    public override void Accept(LocalizerVisitor visitor)
    Parameters
    Type Name Description
    LocalizerVisitor visitor

    the visitor to accept.

    Overrides
    ModelElementLocalizer.Accept(LocalizerVisitor)

    Clone()

    clones this instances.

    Declaration
    public override ModelElementLocalizer Clone()
    Returns
    Type Description
    ModelElementLocalizer

    Returns a copy-constructed instance of itself.

    Overrides
    ModelElementLocalizer.Clone()

    MergeFrom(ModelElementLocalizer)

    merges 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 all cultures from the elements specific to this localizer.

    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