Class LocalizerVisitor
visitor pattern for localizer.
Inherited Members
Namespace: TimeCockpit.Data.Localization.Default
Assembly: TimeCockpit.Data.dll
Syntax
public abstract class LocalizerVisitor
Constructors
LocalizerVisitor()
Declaration
protected LocalizerVisitor()
Methods
PostVisit(ActionLocalizer)
Called after all action sublocalizers have been visited.
Declaration
public virtual void PostVisit(ActionLocalizer actionLocalizer)
Parameters
Type | Name | Description |
---|---|---|
ActionLocalizer | actionLocalizer | The localizer. |
PostVisit(EntityLocalizer)
Called after all entity sublocalizers have been visited.
Declaration
public virtual void PostVisit(EntityLocalizer entityLocalizer)
Parameters
Type | Name | Description |
---|---|---|
EntityLocalizer | entityLocalizer | The localizer. |
PostVisit(EntityViewLocalizer)
Called after all entity view sublocalizers have been visited.
Declaration
public virtual void PostVisit(EntityViewLocalizer entityViewLocalizer)
Parameters
Type | Name | Description |
---|---|---|
EntityViewLocalizer | entityViewLocalizer | The localizer. |
PostVisit(LogicalRelationLocalizer)
Called after all relation sublocalizers have been visited.
Declaration
public virtual void PostVisit(LogicalRelationLocalizer logicalRelationLocalizer)
Parameters
Type | Name | Description |
---|---|---|
LogicalRelationLocalizer | logicalRelationLocalizer | The localizer. |
PostVisit(NamedSetDefinitionLocalizer)
Called after all entity sublocalizers have been visited.
Declaration
public virtual void PostVisit(NamedSetDefinitionLocalizer namedSetDefinitionLocalizer)
Parameters
Type | Name | Description |
---|---|---|
NamedSetDefinitionLocalizer | namedSetDefinitionLocalizer | The localizer. |
PostVisit(PermissionLocalizer)
Called after all permission sublocalizers have been visited.
Declaration
public virtual void PostVisit(PermissionLocalizer permissionLocalizer)
Parameters
Type | Name | Description |
---|---|---|
PermissionLocalizer | permissionLocalizer | The localizer. |
PostVisit(PropertyLocalizer)
Called after all property sublocalizers have been visited.
Declaration
public virtual void PostVisit(PropertyLocalizer propertyLocalizer)
Parameters
Type | Name | Description |
---|---|---|
PropertyLocalizer | propertyLocalizer | The localizer. |
PostVisit(RelationLocalizer)
Called after all relation localizers have been visited.
Declaration
public virtual void PostVisit(RelationLocalizer relationLocalizer)
Parameters
Type | Name | Description |
---|---|---|
RelationLocalizer | relationLocalizer | The relation localizer. |
PostVisit(ValidationRuleLocalizer)
Called after all ValidationRule sublocalizers have been visited.
Declaration
public virtual void PostVisit(ValidationRuleLocalizer validationRuleLocalizer)
Parameters
Type | Name | Description |
---|---|---|
ValidationRuleLocalizer | validationRuleLocalizer | The localizer. |
Visit(ActionLocalizer)
Visits a ActionLocalizer.
Declaration
public abstract void Visit(ActionLocalizer actionLocalizer)
Parameters
Type | Name | Description |
---|---|---|
ActionLocalizer | actionLocalizer | the ActionLocalizer to visit. |
Visit(EntityLocalizer)
Visits a EntityLocalizer.
Declaration
public abstract void Visit(EntityLocalizer entityLocalizer)
Parameters
Type | Name | Description |
---|---|---|
EntityLocalizer | entityLocalizer | the EntityLocalizer to visit. |
Visit(EntityViewLocalizer)
Visits a EntityViewLocalizer.
Declaration
public abstract void Visit(EntityViewLocalizer entityViewLocalizer)
Parameters
Type | Name | Description |
---|---|---|
EntityViewLocalizer | entityViewLocalizer | the EntityViewLocalizer to visit. |
Visit(LogicalRelationLocalizer)
Visits a LogicalRelationLocalizer.
Declaration
public abstract void Visit(LogicalRelationLocalizer logicalRelationLocalizer)
Parameters
Type | Name | Description |
---|---|---|
LogicalRelationLocalizer | logicalRelationLocalizer | the localizer to visit. |
Visit(NamedSetDefinitionLocalizer)
Visits a NamedSetDefinitionLocalizer.
Declaration
public abstract void Visit(NamedSetDefinitionLocalizer namedSetDefinitionLocalizer)
Parameters
Type | Name | Description |
---|---|---|
NamedSetDefinitionLocalizer | namedSetDefinitionLocalizer | the NamedSetDefinitionLocalizer to visit. |
Visit(PermissionLocalizer)
visits a PermissionLocalizer
Declaration
public abstract void Visit(PermissionLocalizer permissionLocalizer)
Parameters
Type | Name | Description |
---|---|---|
PermissionLocalizer | permissionLocalizer | the PermissionLocalizer to visit. |
Visit(PropertyLocalizer)
visits a PropertyLocalizer
Declaration
public abstract void Visit(PropertyLocalizer propertyLocalizer)
Parameters
Type | Name | Description |
---|---|---|
PropertyLocalizer | propertyLocalizer | the localizer to visit. |
Visit(RelationLocalizer)
visits a RelationLocalizer.
Declaration
public abstract void Visit(RelationLocalizer relationLocalizer)
Parameters
Type | Name | Description |
---|---|---|
RelationLocalizer | relationLocalizer | the localizer to visit. |
Visit(StringLocalizer)
visits a StringLocalizer.
Declaration
public abstract void Visit(StringLocalizer stringLocalizer)
Parameters
Type | Name | Description |
---|---|---|
StringLocalizer | stringLocalizer | the StringLocalizer to visit. |
Visit(ValidationRuleLocalizer)
Visits a ValidationRuleLocalizer.
Declaration
public abstract void Visit(ValidationRuleLocalizer validationRuleLocalizer)
Parameters
Type | Name | Description |
---|---|---|
ValidationRuleLocalizer | validationRuleLocalizer | the localizer to visit. |