Show / Hide Table of Contents

Class CultureManager

Manages metadata languages used in the Colectica user interface.

Inheritance
object
CultureManager
Inherited Members
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
Namespace: Algenta.Colectica.Model.Utility
Assembly: Algenta.Colectica.Model.dll
Syntax
public class CultureManager

Properties

Cultures

Gets the cultures configured for display in the user interface.

Declaration
public ObservableCollection<CultureInfo> Cultures { get; }
Property Value
Type Description
ObservableCollection<CultureInfo>

The cultures.

Instance

Provides access to the singleton object.

Declaration
public static CultureManager Instance { get; }
Property Value
Type Description
CultureManager

SortOrder

Gets the cultures configured for display in the user interface, in sorted order.

Declaration
public List<string> SortOrder { get; }
Property Value
Type Description
List<string>

The sort order.

Methods

GetCultureString()

Gets a string serialization of the list of cultures that are configured to be displayed in the user interface.

Declaration
public string GetCultureString()
Returns
Type Description
string

LoadFromString(string)

Loads cultures to be displayed in the user interface from a string, which may have been used to store the configured cultures between application settings.

Declaration
public void LoadFromString(string cultureString)
Parameters
Type Name Description
string cultureString

The culture string.

SetDefaultCulture(string)

Sets the default culture.

Declaration
public void SetDefaultCulture(string defaultCultureName)
Parameters
Type Name Description
string defaultCultureName

Extension Methods

Extensions.Yield<T>(T)
In this article
Back to top Generated by DocFX