C# 클래스 WebApplications.Utilities.Globalization.CurrencyInfoProvider

상속: ICurrencyInfoProvider
파일 보기 프로젝트 열기: webappsuk/CoreLibraries

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