Class StatefulVisitorBase
Base for stateful localizer traversal.
Inheritance
Inherited Members
Namespace: TimeCockpit.Data.Localization.Default
Assembly: TimeCockpit.Data.dll
Syntax
public abstract class StatefulVisitorBase : LocalizerVisitorBase
Constructors
StatefulVisitorBase()
Declaration
protected StatefulVisitorBase()
Properties
CurrentEntityLocalizer
Gets internal state to associate properties with the correct entity.
Declaration
protected EntityLocalizer CurrentEntityLocalizer { get; }
Property Value
Type | Description |
---|---|
Entity |
CurrentLogicalRelationLocalizer
Gets internal state to associate permissions with logical relations and entities correctly.
Declaration
protected LogicalRelationLocalizer CurrentLogicalRelationLocalizer { get; }
Property Value
Type | Description |
---|---|
Logical |
CurrentPropertyLocalizer
Gets internal state to associate permissions with properties and entities correctly.
Declaration
protected PropertyLocalizer CurrentPropertyLocalizer { get; }
Property Value
Type | Description |
---|---|
Property |
CurrentRelationLocalizer
Gets internal state to associate permissions with relations and entities correctly.
Declaration
protected RelationLocalizer CurrentRelationLocalizer { get; }
Property Value
Type | Description |
---|---|
Relation |
Methods
Visit(ActionLocalizer)
Visits a Action
Declaration
public override void Visit(ActionLocalizer actionLocalizer)
Parameters
Type | Name | Description |
---|---|---|
Action |
actionLocalizer | the Action |
Overrides
Visit(EntityLocalizer)
Visits a Entity
Declaration
public override void Visit(EntityLocalizer entityLocalizer)
Parameters
Type | Name | Description |
---|---|---|
Entity |
entityLocalizer | the Entity |
Overrides
Visit(EntityViewLocalizer)
Visits a Entity
Declaration
public override void Visit(EntityViewLocalizer entityViewLocalizer)
Parameters
Type | Name | Description |
---|---|---|
Entity |
entityViewLocalizer | the Entity |
Overrides
Visit(LogicalRelationLocalizer)
Visits a Logical
Declaration
public override void Visit(LogicalRelationLocalizer logicalRelationLocalizer)
Parameters
Type | Name | Description |
---|---|---|
Logical |
logicalRelationLocalizer | The localizer to visit. |
Overrides
Visit(NamedSetDefinitionLocalizer)
Visits a Named
Declaration
public override void Visit(NamedSetDefinitionLocalizer namedSetDefinitionLocalizer)
Parameters
Type | Name | Description |
---|---|---|
Named |
namedSetDefinitionLocalizer | the Named |
Overrides
Visit(PropertyLocalizer)
visits a Property
Declaration
public override void Visit(PropertyLocalizer propertyLocalizer)
Parameters
Type | Name | Description |
---|---|---|
Property |
propertyLocalizer | the localizer to visit. |
Overrides
Visit(RelationLocalizer)
visits a Relation
Declaration
public override void Visit(RelationLocalizer relationLocalizer)
Parameters
Type | Name | Description |
---|---|---|
Relation |
relationLocalizer | the localizer to visit. |
Overrides
Visit(StringLocalizer)
visits a String
Declaration
public override void Visit(StringLocalizer stringLocalizer)
Parameters
Type | Name | Description |
---|---|---|
String |
stringLocalizer | the String |