CurrencyConverter Class
public class CurrencyConverter : ICurrencyConverter
This language is not supported or no code example is available.
public ref class CurrencyConverter : public ICurrencyConverter^
This language is not supported or no code example is available.
Name | Description | |
---|---|---|
CurrencyConverter(Framework) | Initializes a new instance of the CurrencyConverter class. |
Name | Description | |
---|---|---|
DataManager | Gets the reference to the data manager instance of the framework this currency converter is associated with | |
Framework | Gets the reference to the framework instance this currency converter is associated with |
Name | Description | |
---|---|---|
Convert(double, byte, byte) | Converts specified amount from one currency to another |
This simple currency converter is a base class for user defined currency converters. It doesn't perform any conversion. A user should override its Convert method to implement a specific
currency conversion mechanism. A user defined currency converter can be set as the default currency converter in the Obermind Framework via Framework.CurrencyConverter property. Once set, it will be
used in all places in the Obermind Framework requiring currency conversion, for example in the Portfolio.Account to covert account positions to the base account currency.