C# Class ECommerceHelper.CurrencyConverter.CurrencyService

Inheritance: ICurrencyService
ファイルを表示 Open project: tugberkugurlu/ECommerceHelper

Public Methods

Method Description
ConvertAsync ( decimal amount, CurrencyCode fromCurrency ) : Task

Converts the specified amount of the specified currecny into TRY

ConvertAsync ( decimal amount, CurrencyCode fromCurrency, CurrencyCode toCurrency ) : Task

Private Methods

Method Description
cacheRatesStatusObject ( RatesStatus ratesStatus ) : void
getRatesStatusAsync ( ) : Task

Method Details

ConvertAsync() public method

Converts the specified amount of the specified currecny into TRY
public ConvertAsync ( decimal amount, CurrencyCode fromCurrency ) : Task
amount decimal
fromCurrency CurrencyCode
return Task

ConvertAsync() public method

public ConvertAsync ( decimal amount, CurrencyCode fromCurrency, CurrencyCode toCurrency ) : Task
amount decimal
fromCurrency CurrencyCode
toCurrency CurrencyCode
return Task