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

A ICurrencyInfoProvider with no currencies!
Inheritance: ICultureInfoProvider
Show file Open project: webappsuk/CoreLibraries

Public Methods

Method 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 method

Initializes a new instance of the EmptyCultureInfoProvider class.
public EmptyCultureInfoProvider ( System.DateTime published ) : System
published System.DateTime The published.
return System

FindByCurrency() public method

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

Get() public method

Retrieves an ExtendedCultureInfo equivalent to the specified (see CultureInfo).
public Get ( CultureInfo cultureInfo ) : ExtendedCultureInfo
cultureInfo System.Globalization.CultureInfo The culture info.
return ExtendedCultureInfo

Get() public method

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

Get() public method

Retrieves an ExtendedCultureInfo with the ISO Code specified.
public Get ( string cultureName ) : ExtendedCultureInfo
cultureName string The ISO Code.
return ExtendedCultureInfo

GetChildren() public method

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