C# Class WebApplications.Utilities.Globalization.CultureInfoProvider

Inheritance: ICultureInfoProvider
Afficher le fichier Open project: webappsuk/CoreLibraries

Private Properties

Свойство Type Description
CultureInfoProvider System
GetDepth int

Méthodes publiques

Méthode Description
CultureInfoProvider ( System.DateTime published, [ cultures ) : System

Initializes a new instance of the CultureInfoProvider class.

FindByCurrency ( CurrencyInfo currencyInfo ) : IEnumerable

Finds the cultures that use a specific currency.

Get ( CultureInfo cultureInfo ) : ExtendedCultureInfo

Retrieves an ExtendedCultureInfo equivalent to the CultureInfo.

Get ( int lcid ) : ExtendedCultureInfo

Retrieves an ExtendedCultureInfo with the name specified CultureInfo.LCID.

Get ( string cultureName ) : ExtendedCultureInfo

Retrieves an ExtendedCultureInfo with the name specified CultureInfo.Name.

GetChildren ( CultureInfo cultureInfo ) : IEnumerable

Gets the child cultures of the specified culture.

Private Methods

Méthode Description
CultureInfoProvider ( ) : System

Initializes the CultureInfoProvider class.

GetDepth ( [ info ) : int

Gets the depth of the given culture info.

Method Details

CultureInfoProvider() public méthode

Initializes a new instance of the CultureInfoProvider class.
public CultureInfoProvider ( System.DateTime published, [ cultures ) : System
published System.DateTime The published date time.
cultures [ The cultures.
Résultat System

FindByCurrency() public méthode

Finds the cultures that use a specific currency.
public FindByCurrency ( CurrencyInfo currencyInfo ) : IEnumerable
currencyInfo CurrencyInfo The currency information.
Résultat IEnumerable

Get() public méthode

Retrieves an ExtendedCultureInfo equivalent to the CultureInfo.
is .
public Get ( CultureInfo cultureInfo ) : ExtendedCultureInfo
cultureInfo System.Globalization.CultureInfo The culture info.
Résultat ExtendedCultureInfo

Get() public méthode

Retrieves an ExtendedCultureInfo with the name specified CultureInfo.LCID.
public Get ( int lcid ) : ExtendedCultureInfo
lcid int The lcid.
Résultat ExtendedCultureInfo

Get() public méthode

Retrieves an ExtendedCultureInfo with the name specified CultureInfo.Name.
is .
public Get ( string cultureName ) : ExtendedCultureInfo
cultureName string The ISO Code.
Résultat ExtendedCultureInfo

GetChildren() public méthode

Gets the child cultures of the specified culture.
public GetChildren ( CultureInfo cultureInfo ) : IEnumerable
cultureInfo System.Globalization.CultureInfo The culture to get the children of.
Résultat IEnumerable