C# Class Framework.Core.Localization.CultureHelper

Culture helper.
Show file Open project: coreframework/Core-Framework

Public Properties

Property Type Description
NeutralCultureName String

Public Methods

Method Description
GetAvailableCultures ( ) : String>.IDictionary

Gets the available cultures.

GetCurrentLocale ( IList locales ) : ILocale

Gets the current locale.

SetDefaultCulture ( String cultureCode ) : void

Sets the default culture.

Method Details

GetAvailableCultures() public static method

Gets the available cultures.
public static GetAvailableCultures ( ) : String>.IDictionary
return String>.IDictionary

GetCurrentLocale() public static method

Gets the current locale.
public static GetCurrentLocale ( IList locales ) : ILocale
locales IList The locales.
return ILocale

SetDefaultCulture() public static method

Sets the default culture.
public static SetDefaultCulture ( String cultureCode ) : void
cultureCode String The culture code.
return void

Property Details

NeutralCultureName public static property

Neutral culture name.
public static String NeutralCultureName
return String