Search Results for

    Show / Hide Table of Contents

    Class RelationLocalizer

    class responsible for holding localization information for a relation.

    Inheritance
    System.Object
    ModelElementLocalizer
    PermissionedElementLocalizer
    RelationLocalizer
    Inherited Members
    PermissionedElementLocalizer.Permissions
    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 RelationLocalizer : PermissionedElementLocalizer

    Constructors

    RelationLocalizer(String)

    Initializes a new instance of the RelationLocalizer class.

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

    the name of the relation.

    RelationLocalizer(RelationLocalizer)

    Initializes a new instance of the RelationLocalizer class.

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

    the source to copy from.

    Properties

    BackReferenceFriendlyName

    Gets the string localizer for the backreference friendly name

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

    Methods

    Accept(LocalizerVisitor)

    accepts a visitor.

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

    the visitor to accept.

    Overrides
    PermissionedElementLocalizer.Accept(LocalizerVisitor)

    Clone()

    Clones this instance

    Declaration
    public override ModelElementLocalizer Clone()
    Returns
    Type Description
    ModelElementLocalizer

    Returns a copy-constructed instance of itself.

    Overrides
    ModelElementLocalizer.Clone()

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

    RemoveLocalizations()

    Removes the localizations for this element and all nested permissions.

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

    Extension Methods

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