Search Results for

    Show / Hide Table of Contents

    Class ValidateElementsExistVisitor

    class visiting

    Inheritance
    System.Object
    LocalizerVisitor
    LocalizerVisitorBase
    StatefulVisitorBase
    ValidateElementsExistVisitor
    Inherited Members
    StatefulVisitorBase.Visit(StringLocalizer)
    StatefulVisitorBase.CurrentEntityLocalizer
    StatefulVisitorBase.CurrentPropertyLocalizer
    StatefulVisitorBase.CurrentRelationLocalizer
    StatefulVisitorBase.CurrentLogicalRelationLocalizer
    LocalizerVisitor.PostVisit(PermissionLocalizer)
    LocalizerVisitor.PostVisit(RelationLocalizer)
    LocalizerVisitor.PostVisit(LogicalRelationLocalizer)
    LocalizerVisitor.PostVisit(PropertyLocalizer)
    LocalizerVisitor.PostVisit(ValidationRuleLocalizer)
    LocalizerVisitor.PostVisit(EntityLocalizer)
    LocalizerVisitor.PostVisit(NamedSetDefinitionLocalizer)
    LocalizerVisitor.PostVisit(ActionLocalizer)
    LocalizerVisitor.PostVisit(EntityViewLocalizer)
    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 ValidateElementsExistVisitor : StatefulVisitorBase

    Constructors

    ValidateElementsExistVisitor(Model)

    Initializes a new instance of the ValidateElementsExistVisitor class.

    Declaration
    public ValidateElementsExistVisitor(Model targetModel)
    Parameters
    Type Name Description
    Model targetModel

    the target model to validate against.

    Properties

    NonExisitingProperties

    Gets the found property localizers that don't exist in the target model

    Declaration
    public IEnumerable<Tuple<EntityLocalizer, PropertyLocalizer>> NonExisitingProperties { get; }
    Property Value
    Type Description
    System.Collections.Generic.IEnumerable<System.Tuple<EntityLocalizer, PropertyLocalizer>>

    NonExistingActions

    Gets the found action localizers that don't have a corresponding action in the target model.

    Declaration
    public IEnumerable<ActionLocalizer> NonExistingActions { get; }
    Property Value
    Type Description
    System.Collections.Generic.IEnumerable<ActionLocalizer>

    NonExistingEntities

    Gets the found entity localizers that don't exist in the target model.

    Declaration
    public IEnumerable<EntityLocalizer> NonExistingEntities { get; }
    Property Value
    Type Description
    System.Collections.Generic.IEnumerable<EntityLocalizer>

    NonExistingEntityPermissions

    Gets the found entity permissions that don't have a corresponding Permission in the target model.

    Declaration
    public IEnumerable<Tuple<EntityLocalizer, PermissionLocalizer>> NonExistingEntityPermissions { get; }
    Property Value
    Type Description
    System.Collections.Generic.IEnumerable<System.Tuple<EntityLocalizer, PermissionLocalizer>>

    NonExistingEntityViews

    Gets the found entity view localizers that don't have a corresponding EntityView in the target model.

    Declaration
    public IEnumerable<EntityViewLocalizer> NonExistingEntityViews { get; }
    Property Value
    Type Description
    System.Collections.Generic.IEnumerable<EntityViewLocalizer>

    NonExistingLogicalRelationPermissions

    Gets the found logical relation permissions that don't have a corresponding Permission in the target model.

    Declaration
    public IEnumerable<Tuple<EntityLocalizer, LogicalRelationLocalizer, PermissionLocalizer>> NonExistingLogicalRelationPermissions { get; }
    Property Value
    Type Description
    System.Collections.Generic.IEnumerable<System.Tuple<EntityLocalizer, LogicalRelationLocalizer, PermissionLocalizer>>

    NonExistingLogicalRelations

    Gets the found logical relation localizers that don't exist in the target model.

    Declaration
    public IEnumerable<Tuple<EntityLocalizer, LogicalRelationLocalizer>> NonExistingLogicalRelations { get; }
    Property Value
    Type Description
    System.Collections.Generic.IEnumerable<System.Tuple<EntityLocalizer, LogicalRelationLocalizer>>

    NonExistingNamedSetDefinitions

    Gets the found named set definition localizers that don't have a corresponding NamedSetDefinition in the target model.

    Declaration
    public IEnumerable<NamedSetDefinitionLocalizer> NonExistingNamedSetDefinitions { get; }
    Property Value
    Type Description
    System.Collections.Generic.IEnumerable<NamedSetDefinitionLocalizer>

    NonExistingPropertyPermissions

    Gets the found property permissions that don't have a corresponding Permission in the target model.

    Declaration
    public IEnumerable<Tuple<EntityLocalizer, PropertyLocalizer, PermissionLocalizer>> NonExistingPropertyPermissions { get; }
    Property Value
    Type Description
    System.Collections.Generic.IEnumerable<System.Tuple<EntityLocalizer, PropertyLocalizer, PermissionLocalizer>>

    NonExistingRelationPermissions

    Gets the found relation permissions that don't have a corresponding Permission in the target model.

    Declaration
    public IEnumerable<Tuple<EntityLocalizer, RelationLocalizer, PermissionLocalizer>> NonExistingRelationPermissions { get; }
    Property Value
    Type Description
    System.Collections.Generic.IEnumerable<System.Tuple<EntityLocalizer, RelationLocalizer, PermissionLocalizer>>

    NonExistingRelations

    Gets the found relation localizers that don't exist in the target model.

    Declaration
    public IEnumerable<Tuple<EntityLocalizer, RelationLocalizer>> NonExistingRelations { get; }
    Property Value
    Type Description
    System.Collections.Generic.IEnumerable<System.Tuple<EntityLocalizer, RelationLocalizer>>

    NonExistingValidationRules

    Gets the found validation rule localizers that don't exist in the target model.

    Declaration
    public IEnumerable<Tuple<EntityLocalizer, ValidationRuleLocalizer>> NonExistingValidationRules { get; }
    Property Value
    Type Description
    System.Collections.Generic.IEnumerable<System.Tuple<EntityLocalizer, ValidationRuleLocalizer>>

    Methods

    Visit(ActionLocalizer)

    Checks whether an action corresponding to the given actionLocalizer exists in the target model.

    Declaration
    public override void Visit(ActionLocalizer actionLocalizer)
    Parameters
    Type Name Description
    ActionLocalizer actionLocalizer

    the ActionLocalizer to validate.

    Overrides
    StatefulVisitorBase.Visit(ActionLocalizer)

    Visit(EntityLocalizer)

    Checks whether the entity exists in the target model.

    Declaration
    public override void Visit(EntityLocalizer entityLocalizer)
    Parameters
    Type Name Description
    EntityLocalizer entityLocalizer

    the EntityLocalizer to validate.

    Overrides
    StatefulVisitorBase.Visit(EntityLocalizer)

    Visit(EntityViewLocalizer)

    Checks whether the EntityViewLocalizer has a corresponding EntityView in the target model.

    Declaration
    public override void Visit(EntityViewLocalizer entityViewLocalizer)
    Parameters
    Type Name Description
    EntityViewLocalizer entityViewLocalizer

    the entityViewLocalizer to check.

    Overrides
    StatefulVisitorBase.Visit(EntityViewLocalizer)

    Visit(LogicalRelationLocalizer)

    Validates that the logical relation exists in the target model.

    Declaration
    public override void Visit(LogicalRelationLocalizer logicalRelationLocalizer)
    Parameters
    Type Name Description
    LogicalRelationLocalizer logicalRelationLocalizer

    The logical relation localizer to validate.

    Overrides
    StatefulVisitorBase.Visit(LogicalRelationLocalizer)

    Visit(NamedSetDefinitionLocalizer)

    Validates that a NamedSetDefinition corresponding to the NamedSetDefinitionLocalizer exists in the target model.

    Declaration
    public override void Visit(NamedSetDefinitionLocalizer namedSetDefinitionLocalizer)
    Parameters
    Type Name Description
    NamedSetDefinitionLocalizer namedSetDefinitionLocalizer

    the namedSetDefinitionLocalizer to validate.

    Overrides
    StatefulVisitorBase.Visit(NamedSetDefinitionLocalizer)

    Visit(PermissionLocalizer)

    Checks whether the PermissionLocalizer has a corresponding Permission in the target model.

    Declaration
    public override void Visit(PermissionLocalizer permissionLocalizer)
    Parameters
    Type Name Description
    PermissionLocalizer permissionLocalizer

    the permission localizer to find.

    Overrides
    LocalizerVisitorBase.Visit(PermissionLocalizer)

    Visit(PropertyLocalizer)

    Checks whether the property belonging to the current entity exists in the target model.

    Declaration
    public override void Visit(PropertyLocalizer propertyLocalizer)
    Parameters
    Type Name Description
    PropertyLocalizer propertyLocalizer

    the PropertyLocalizer to validate.

    Overrides
    StatefulVisitorBase.Visit(PropertyLocalizer)

    Visit(RelationLocalizer)

    validates that the relation exists in the target model.

    Declaration
    public override void Visit(RelationLocalizer relationLocalizer)
    Parameters
    Type Name Description
    RelationLocalizer relationLocalizer

    the relation localizer to validate.

    Overrides
    StatefulVisitorBase.Visit(RelationLocalizer)

    Visit(ValidationRuleLocalizer)

    Validates that a ValidationRule corresponding to the ValidationRuleLocalizer exists in the target model.

    Declaration
    public override void Visit(ValidationRuleLocalizer validationRuleLocalizer)
    Parameters
    Type Name Description
    ValidationRuleLocalizer validationRuleLocalizer

    the validation rule localizer to validate.

    Overrides
    LocalizerVisitorBase.Visit(ValidationRuleLocalizer)
    In This Article
    Back to top Copyright © 2020 software architects gmbh