Neuron®
The Neuron® is the basis for the creation of open and secure federated networks for smart societies.
Loading...
Searching...
No Matches
Paiwise.ICurrencyConverterService Interface Reference

Interface for currency converter services More...

Inheritance diagram for Paiwise.ICurrencyConverterService:
Waher.Runtime.Inventory.IModule Waher.Runtime.Inventory.IProcessingSupport< CurrencyPair > Paiwise.OpenExchangeRates.OpenExchangeRatesService

Public Member Functions

Task< ICurrencyConverterQuoteGetCurrencyConversionQuote (CaseInsensitiveString FromCurrency, CaseInsensitiveString ToCurrency)
 Gets a Currency Exchange Rate from one currency to another. More...
 
Task Start ()
 Starts the module. More...
 
Task Stop ()
 Stops the module. More...
 
Grade Supports (T Object)
 If the interface understands objects such as Object . More...
 

Detailed Description

Interface for currency converter services

Definition at line 11 of file ICurrencyConverterService.cs.

Member Function Documentation

◆ GetCurrencyConversionQuote()

Task< ICurrencyConverterQuote > Paiwise.ICurrencyConverterService.GetCurrencyConversionQuote ( CaseInsensitiveString  FromCurrency,
CaseInsensitiveString  ToCurrency 
)

Gets a Currency Exchange Rate from one currency to another.

Parameters
FromCurrencyFrom what currency conversion is to be made.
ToCurrencyTo what currency conversion is to be made.
Returns
Exchange rate quote, if able, null if not.
Exceptions
ExceptionIf errors occur within the service, that need to be propagated to the caller.

Implemented in Paiwise.OpenExchangeRates.OpenExchangeRatesService.

◆ Start()

◆ Stop()

◆ Supports()

Grade Waher.Runtime.Inventory.IProcessingSupport< T >.Supports ( Object)
inherited

If the interface understands objects such as Object .

Parameters
ObjectObject
Returns
How well objects of this type are supported.

The documentation for this interface was generated from the following file: