C# Class WebApplications.Utilities.Globalization.CultureInfoProvider

Inheritance: ICultureInfoProvider
Show file Open project: webappsuk/CoreLibraries

Private Properties

Property Type Description
CultureInfoProvider System
GetDepth int

Public Methods

Method 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

Method Description
CultureInfoProvider ( ) : System

Initializes the CultureInfoProvider class.

GetDepth ( [ info ) : int

Gets the depth of the given culture info.

Method Details

CultureInfoProvider() public method

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.
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 CultureInfo.
is .
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 name specified CultureInfo.Name.
is .
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