C# Class IssueTracker.Abstractions.CultureHelper

Afficher le fichier Open project: radike/issue-tracker

Méthodes publiques

Свойство Type Description
DefaultCulture System.Globalization.CultureInfo
PrefferedCultureCookie string
SupportedCultures IReadOnlyCollection

Méthodes publiques

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

Private Methods

Méthode Description
parseCulture ( string cultureCode ) : CultureInfo

Method Details

GetCultureForCookie() public static méthode

public static GetCultureForCookie ( System.Web.HttpCookie cultureCookie ) : string[]
cultureCookie System.Web.HttpCookie
Résultat string[]

GetSupportedCulture() public static méthode

public static GetSupportedCulture ( ) : CultureInfo
Résultat System.Globalization.CultureInfo

IsSupportedCulture() public static méthode

public static IsSupportedCulture ( string cultureCode ) : bool
cultureCode string
Résultat bool

Property Details

DefaultCulture public_oe static_oe property

public static CultureInfo,System.Globalization DefaultCulture
Résultat System.Globalization.CultureInfo

PrefferedCultureCookie public_oe static_oe property

public static string PrefferedCultureCookie
Résultat string

SupportedCultures public_oe static_oe property

public static IReadOnlyCollection SupportedCultures
Résultat IReadOnlyCollection