Class PruneIdenticalLocalizations
static class providing methods for pruning localized strings that are identical to a base localization.
Inheritance
Inherited Members
Namespace: TimeCockpit.Data.Localization.Default
Assembly: TimeCockpit.Data.dll
Syntax
public static class PruneIdenticalLocalizations
Methods
Prune(ActionLocalizer, ActionLocalizer)
compares if the dela is equal to the base and prunes the strings in the delta that are identical.
Declaration
public static void Prune(ActionLocalizer baseLocalizer, ActionLocalizer delta)
Parameters
| Type | Name | Description |
|---|---|---|
| ActionLocalizer | baseLocalizer | The base localizer. |
| ActionLocalizer | delta | The localizer holding strings different from base. |
Prune(DefaultLocalizer, DefaultLocalizer)
compares if the dela is equal to the base and prunes the strings in the delta that are identical.
Declaration
public static void Prune(DefaultLocalizer baseLocalizer, DefaultLocalizer delta)
Parameters
| Type | Name | Description |
|---|---|---|
| DefaultLocalizer | baseLocalizer | The base localizer. |
| DefaultLocalizer | delta | The localizer holding strings different from base. |
Prune(EntityLocalizer, EntityLocalizer)
compares if the dela is equal to the base and prunes the strings in the delta that are identical.
Declaration
public static void Prune(EntityLocalizer baseLocalizer, EntityLocalizer delta)
Parameters
| Type | Name | Description |
|---|---|---|
| EntityLocalizer | baseLocalizer | The base localizer. |
| EntityLocalizer | delta | The localizer holding strings different from base. |
Prune(EntityViewLocalizer, EntityViewLocalizer)
compares if the dela is equal to the base and prunes the strings in the delta that are identical.
Declaration
public static void Prune(EntityViewLocalizer baseLocalizer, EntityViewLocalizer delta)
Parameters
| Type | Name | Description |
|---|---|---|
| EntityViewLocalizer | baseLocalizer | The base localizer. |
| EntityViewLocalizer | delta | The localizer holding strings different from base. |
Prune(LogicalRelationLocalizer, LogicalRelationLocalizer)
compares if the dela is equal to the base and prunes the strings in the delta that are identical.
Declaration
public static void Prune(LogicalRelationLocalizer baseLocalizer, LogicalRelationLocalizer delta)
Parameters
| Type | Name | Description |
|---|---|---|
| LogicalRelationLocalizer | baseLocalizer | The base localizer. |
| LogicalRelationLocalizer | delta | The localizer holding strings different from base. |
Prune(NamedSetDefinitionLocalizer, NamedSetDefinitionLocalizer)
compares if the dela is equal to the base and prunes the strings in the delta that are identical.
Declaration
public static void Prune(NamedSetDefinitionLocalizer baseLocalizer, NamedSetDefinitionLocalizer delta)
Parameters
| Type | Name | Description |
|---|---|---|
| NamedSetDefinitionLocalizer | baseLocalizer | The base localizer. |
| NamedSetDefinitionLocalizer | delta | The localizer holding strings different from base. |
Prune(PermissionLocalizer, PermissionLocalizer)
compares if the dela is equal to the base and prunes the strings in the delta that are identical.
Declaration
public static void Prune(PermissionLocalizer baseLocalizer, PermissionLocalizer delta)
Parameters
| Type | Name | Description |
|---|---|---|
| PermissionLocalizer | baseLocalizer | The base localizer. |
| PermissionLocalizer | delta | The localizer holding strings different from base. |
Prune(PropertyLocalizer, PropertyLocalizer)
compares if the dela is equal to the base and prunes the strings in the delta that are identical.
Declaration
public static void Prune(PropertyLocalizer baseLocalizer, PropertyLocalizer delta)
Parameters
| Type | Name | Description |
|---|---|---|
| PropertyLocalizer | baseLocalizer | The base localizer. |
| PropertyLocalizer | delta | The localizer holding strings different from base. |
Prune(RelationLocalizer, RelationLocalizer)
compares if the dela is equal to the base and prunes the strings in the delta that are identical.
Declaration
public static void Prune(RelationLocalizer baseLocalizer, RelationLocalizer delta)
Parameters
| Type | Name | Description |
|---|---|---|
| RelationLocalizer | baseLocalizer | The base localizer. |
| RelationLocalizer | delta | The localizer holding strings different from base. |
Prune(StringLocalizer, StringLocalizer)
prunes all indifferent cultures from the delta that are identical to the base.
Declaration
public static void Prune(StringLocalizer baseLocalizer, StringLocalizer delta)
Parameters
| Type | Name | Description |
|---|---|---|
| StringLocalizer | baseLocalizer | The base localizer. |
| StringLocalizer | delta | The delta to the base. |
Prune(ValidationRuleLocalizer, ValidationRuleLocalizer)
compares if the dela is equal to the base and prunes the strings in the delta that are identical.
Declaration
public static void Prune(ValidationRuleLocalizer baseLocalizer, ValidationRuleLocalizer delta)
Parameters
| Type | Name | Description |
|---|---|---|
| ValidationRuleLocalizer | baseLocalizer | The base localizer. |
| ValidationRuleLocalizer | delta | The localizer holding strings different from base. |