C# Класс WebApplications.Utilities.Globalization.CurrencyInfoProvider

Наследование: ICurrencyInfoProvider
Показать файл Открыть проект

Private Properties

Свойство Тип Описание
CurrencyInfoProvider System
Load CurrencyInfoProvider
LoadCurrencies ICurrencyInfoProvider
LoadFromBinary CurrencyInfoProvider
LoadFromFile CurrencyInfoProvider
LoadFromXml CurrencyInfoProvider
OnActiveUtilityConfigurationChanged void

Открытые методы

Метод Описание
CurrencyInfoProvider ( System.DateTime published, [ currencies ) : System

Initializes a new instance of the CurrencyInfoProvider class.

Get ( CultureInfo cultureInfo ) : CurrencyInfo

Gets the CurrencyInfo from the specified culture information.

Get ( ExtendedCultureInfo cultureInfo ) : CurrencyInfo

Gets the specified 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.

SetCurrentProvider ( string path = null ) : void

Sets the current provider.

Приватные методы

Метод Описание
CurrencyInfoProvider ( ) : System

Initializes the CurrencyInfoProvider class.

Load ( [ stream, bool leaveOpen = false ) : CurrencyInfoProvider
LoadCurrencies ( string path = null ) : ICurrencyInfoProvider
LoadFromBinary ( [ stream, bool leaveOpen = false ) : CurrencyInfoProvider
LoadFromFile ( [ path ) : CurrencyInfoProvider
LoadFromXml ( [ xml ) : CurrencyInfoProvider
OnActiveUtilityConfigurationChanged ( [ sender, [ e ) : void

Called when the utility configuration changes. If the Configuration.UtilityConfiguration.ISO4217 property changes, the data_stream will be reloaded.

Описание методов

CurrencyInfoProvider() публичный Метод

Initializes a new instance of the CurrencyInfoProvider class.
public CurrencyInfoProvider ( System.DateTime published, [ currencies ) : System
published System.DateTime The date this file was published.
currencies [ The currencies in the file.
Результат System

Get() публичный Метод

Gets the CurrencyInfo from the specified culture information.
public Get ( CultureInfo cultureInfo ) : CurrencyInfo
cultureInfo System.Globalization.CultureInfo The culture information.
Результат CurrencyInfo

Get() публичный Метод

Gets the specified culture information.
public Get ( ExtendedCultureInfo cultureInfo ) : CurrencyInfo
cultureInfo ExtendedCultureInfo The culture information.
Результат CurrencyInfo

Get() публичный Метод

Gets the CurrencyInfo from the specified region information.
/// is . ///
public Get ( RegionInfo regionInfo ) : CurrencyInfo
regionInfo System.Globalization.RegionInfo The region information.
Результат CurrencyInfo

Get() публичный Метод

Retrieves a CurrencyInfo with the ISO Code specified.
/// is . ///
public Get ( string currencyCode ) : CurrencyInfo
currencyCode string The ISO Code.
Результат CurrencyInfo

SetCurrentProvider() публичный статический Метод

Sets the current provider.
public static SetCurrentProvider ( string path = null ) : void
path string The path.
Результат void