C# Class WebApplications.Utilities.Globalization.CurrencyInfoProvider.EmptyCurrencyInfoProvider

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

Public Methods

Method Description
EmptyCurrencyInfoProvider ( System.DateTime published ) : System

Initializes a new instance of the EmptyCurrencyInfoProvider class.

Get ( CultureInfo cultureInfo ) : CurrencyInfo

Gets the CurrencyInfo from the specified culture information.

Get ( ExtendedCultureInfo cultureInfo ) : CurrencyInfo

Gets the CurrencyInfo from the specified extended culture information.

Get ( RegionInfo regionInfo ) : CurrencyInfo

Gets the CurrencyInfo from the specified region information.

Get ( string currencyCode ) : CurrencyInfo

Retrieves a CurrencyInfo with the ISO Code specified.

Method Details

EmptyCurrencyInfoProvider() public method

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

Get() public method

Gets the CurrencyInfo from the specified culture information.
public Get ( CultureInfo cultureInfo ) : CurrencyInfo
cultureInfo System.Globalization.CultureInfo The culture information.
return CurrencyInfo

Get() public method

Gets the CurrencyInfo from the specified extended culture information.
public Get ( ExtendedCultureInfo cultureInfo ) : CurrencyInfo
cultureInfo ExtendedCultureInfo The culture information.
return CurrencyInfo

Get() public method

Gets the CurrencyInfo from the specified region information.
public Get ( RegionInfo regionInfo ) : CurrencyInfo
regionInfo System.Globalization.RegionInfo The region information.
return CurrencyInfo

Get() public method

Retrieves a CurrencyInfo with the ISO Code specified.
public Get ( string currencyCode ) : CurrencyInfo
currencyCode string The ISO Code.
return CurrencyInfo