C# Class IssueTracker.Abstractions.CultureHelper

Mostrar archivo Open project: radike/issue-tracker

Public Properties

Property Type Description
DefaultCulture System.Globalization.CultureInfo
PrefferedCultureCookie string
SupportedCultures IReadOnlyCollection

Public Methods

Method Description
GetCultureForCookie ( System.Web.HttpCookie cultureCookie ) : string[]
GetSupportedCulture ( ) : CultureInfo
IsSupportedCulture ( string cultureCode ) : bool

Private Methods

Method Description
parseCulture ( string cultureCode ) : CultureInfo

Method Details

GetCultureForCookie() public static method

public static GetCultureForCookie ( System.Web.HttpCookie cultureCookie ) : string[]
cultureCookie System.Web.HttpCookie
return string[]

GetSupportedCulture() public static method

public static GetSupportedCulture ( ) : CultureInfo
return System.Globalization.CultureInfo

IsSupportedCulture() public static method

public static IsSupportedCulture ( string cultureCode ) : bool
cultureCode string
return bool

Property Details

DefaultCulture public_oe static_oe property

public static CultureInfo,System.Globalization DefaultCulture
return System.Globalization.CultureInfo

PrefferedCultureCookie public_oe static_oe property

public static string PrefferedCultureCookie
return string

SupportedCultures public_oe static_oe property

public static IReadOnlyCollection SupportedCultures
return IReadOnlyCollection