Class DefaultLocalizer
the default localizer used by CoFX.
Inheritance
System.Object
DefaultLocalizer
Inherited Members
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 DefaultLocalizer
Constructors
DefaultLocalizer()
Declaration
public DefaultLocalizer()
Properties
Actions
Gets the Action localizations.
Declaration
public LocalizerCollection<ActionLocalizer> Actions { get; }
Property Value
Type | Description |
---|---|
LocalizerCollection<ActionLocalizer> |
Cultures
Gets a list of all cultures used in the localizer.
Declaration
public IEnumerable<string> Cultures { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<System.String> |
Entities
Gets the localized entities.
Declaration
public LocalizerCollection<EntityLocalizer> Entities { get; }
Property Value
Type | Description |
---|---|
LocalizerCollection<EntityLocalizer> |
EntityViews
Gets the localized entity views.
Declaration
public LocalizerCollection<EntityViewLocalizer> EntityViews { get; }
Property Value
Type | Description |
---|---|
LocalizerCollection<EntityViewLocalizer> |
GenericKeys
Gets the generic keys.
Declaration
public GenericKeysCollection GenericKeys { get; }
Property Value
Type | Description |
---|---|
GenericKeysCollection |
NamedSetDefinitions
Gets the named set definition.
Declaration
public LocalizerCollection<NamedSetDefinitionLocalizer> NamedSetDefinitions { get; }
Property Value
Type | Description |
---|---|
LocalizerCollection<NamedSetDefinitionLocalizer> |
Permissions
Gets the permissions.
Declaration
public LocalizerCollection<PermissionLocalizer> Permissions { get; }
Property Value
Type | Description |
---|---|
LocalizerCollection<PermissionLocalizer> |
Methods
Accept(LocalizerVisitor)
Accepts a visitor. Dispatches all members as well.
Declaration
public void Accept(LocalizerVisitor visitor)
Parameters
Type | Name | Description |
---|---|---|
LocalizerVisitor | visitor | visitor to dispatch. |
ClearDirtyFlag()
Resets all dirty flags
Declaration
public void ClearDirtyFlag()
MergeFrom(DefaultLocalizer)
merges the changes from the localizer.
Declaration
public void MergeFrom(DefaultLocalizer source)
Parameters
Type | Name | Description |
---|---|---|
DefaultLocalizer | source | the source to merge from. |