C# Class ECommerceHelper.CurrencyConverter.CurrencyService

Inheritance: ICurrencyService
Afficher le fichier Open project: tugberkugurlu/ECommerceHelper

Méthodes publiques

Méthode 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

Méthode Description
cacheRatesStatusObject ( RatesStatus ratesStatus ) : void
getRatesStatusAsync ( ) : Task

Method Details

ConvertAsync() public méthode

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

ConvertAsync() public méthode

public ConvertAsync ( decimal amount, CurrencyCode fromCurrency, CurrencyCode toCurrency ) : Task
amount decimal
fromCurrency CurrencyCode
toCurrency CurrencyCode
Résultat Task