Search Results for

    Show / Hide Table of Contents

    Class EntityLocalizer

    localizer for an entity

    Inheritance
    System.Object
    ModelElementLocalizer
    PermissionedElementLocalizer
    EntityLocalizer
    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 EntityLocalizer : PermissionedElementLocalizer

    Constructors

    EntityLocalizer(String)

    Initializes a new instance of the EntityLocalizer class.

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

    the name of the entity being localized.

    EntityLocalizer(EntityLocalizer)

    Initializes a new instance of the EntityLocalizer class.

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

    the source to copy from.

    Properties

    LogicalRelations

    Gets the logical relations collection.

    Declaration
    public LocalizerCollection<LogicalRelationLocalizer> LogicalRelations { get; }
    Property Value
    Type Description
    LocalizerCollection<LogicalRelationLocalizer>

    Properties

    Gets the properties collection.

    Declaration
    public LocalizerCollection<PropertyLocalizer> Properties { get; }
    Property Value
    Type Description
    LocalizerCollection<PropertyLocalizer>

    Relations

    Gets the relations collection.

    Declaration
    public LocalizerCollection<RelationLocalizer> Relations { get; }
    Property Value
    Type Description
    LocalizerCollection<RelationLocalizer>

    ValidationRules

    Gets the validation rules.

    Declaration
    public LocalizerCollection<ValidationRuleLocalizer> ValidationRules { get; }
    Property Value
    Type Description
    LocalizerCollection<ValidationRuleLocalizer>

    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 instances.

    Declaration
    public override ModelElementLocalizer Clone()
    Returns
    Type Description
    ModelElementLocalizer

    Returns a copy-constructed instance of itself.

    Overrides
    ModelElementLocalizer.Clone()

    MergeFrom(ModelElementLocalizer)

    merges update from the other localizer to this instance.

    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 the elements.

    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