C# Class WebApplications.Utilities.Globalization.CultureInfoProvider.EmptyCultureInfoProvider

A ICurrencyInfoProvider with no currencies!
Inheritance: ICultureInfoProvider
Afficher le fichier Open project: webappsuk/CoreLibraries

Méthodes publiques

Méthode Description
EmptyCultureInfoProvider ( System.DateTime published ) : System

Initializes a new instance of the EmptyCultureInfoProvider class.

FindByCurrency ( CurrencyInfo currencyInfo ) : IEnumerable

Finds the cultures that use a specific currency.

Get ( CultureInfo cultureInfo ) : ExtendedCultureInfo

Retrieves an ExtendedCultureInfo equivalent to the specified (see CultureInfo).

Get ( int lcid ) : ExtendedCultureInfo

Retrieves an ExtendedCultureInfo with the name specified CultureInfo.LCID.

Get ( string cultureName ) : ExtendedCultureInfo

Retrieves an ExtendedCultureInfo with the ISO Code specified.

GetChildren ( CultureInfo cultureInfo ) : IEnumerable

Gets the child cultures of the specified culture.

Method Details

EmptyCultureInfoProvider() public méthode

Initializes a new instance of the EmptyCultureInfoProvider class.
public EmptyCultureInfoProvider ( System.DateTime published ) : System
published System.DateTime The published.
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 specified (see CultureInfo).
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 ISO Code specified.
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