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 |
---|---|
EntityLocalizer |
CurrentLogicalRelationLocalizer
Gets internal state to associate permissions with logical relations and entities correctly.
Declaration
protected LogicalRelationLocalizer CurrentLogicalRelationLocalizer { get; }
Property Value
Type | Description |
---|---|
LogicalRelationLocalizer |
CurrentPropertyLocalizer
Gets internal state to associate permissions with properties and entities correctly.
Declaration
protected PropertyLocalizer CurrentPropertyLocalizer { get; }
Property Value
Type | Description |
---|---|
PropertyLocalizer |
CurrentRelationLocalizer
Gets internal state to associate permissions with relations and entities correctly.
Declaration
protected RelationLocalizer CurrentRelationLocalizer { get; }
Property Value
Type | Description |
---|---|
RelationLocalizer |
Methods
Visit(ActionLocalizer)
Visits a ActionLocalizer.
Declaration
public override void Visit(ActionLocalizer actionLocalizer)
Parameters
Type | Name | Description |
---|---|---|
ActionLocalizer | actionLocalizer | the ActionLocalizer to visit. |
Overrides
Visit(EntityLocalizer)
Visits a EntityLocalizer.
Declaration
public override void Visit(EntityLocalizer entityLocalizer)
Parameters
Type | Name | Description |
---|---|---|
EntityLocalizer | entityLocalizer | the EntityLocalizer to visit. |
Overrides
Visit(EntityViewLocalizer)
Visits a EntityViewLocalizer.
Declaration
public override void Visit(EntityViewLocalizer entityViewLocalizer)
Parameters
Type | Name | Description |
---|---|---|
EntityViewLocalizer | entityViewLocalizer | the EntityViewLocalizer to visit. |
Overrides
Visit(LogicalRelationLocalizer)
Visits a LogicalRelationLocalizer.
Declaration
public override void Visit(LogicalRelationLocalizer logicalRelationLocalizer)
Parameters
Type | Name | Description |
---|---|---|
LogicalRelationLocalizer | logicalRelationLocalizer | The localizer to visit. |
Overrides
Visit(NamedSetDefinitionLocalizer)
Visits a NamedSetDefinitionLocalizer.
Declaration
public override void Visit(NamedSetDefinitionLocalizer namedSetDefinitionLocalizer)
Parameters
Type | Name | Description |
---|---|---|
NamedSetDefinitionLocalizer | namedSetDefinitionLocalizer | the NamedSetDefinitionLocalizer to visit. |
Overrides
Visit(PropertyLocalizer)
visits a PropertyLocalizer
Declaration
public override void Visit(PropertyLocalizer propertyLocalizer)
Parameters
Type | Name | Description |
---|---|---|
PropertyLocalizer | propertyLocalizer | the localizer to visit. |
Overrides
Visit(RelationLocalizer)
visits a RelationLocalizer.
Declaration
public override void Visit(RelationLocalizer relationLocalizer)
Parameters
Type | Name | Description |
---|---|---|
RelationLocalizer | relationLocalizer | the localizer to visit. |
Overrides
Visit(StringLocalizer)
visits a StringLocalizer.
Declaration
public override void Visit(StringLocalizer stringLocalizer)
Parameters
Type | Name | Description |
---|---|---|
StringLocalizer | stringLocalizer | the StringLocalizer to visit. |