CurrencyConverter Class

A base class for user defined currency converters
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.
public class CurrencyConverter 
implements ICurrencyConverter
This language is not supported or no code example is available.
Name Description
Public constructor CurrencyConverter(Framework) Initializes a new instance of the CurrencyConverter class.
Top
Name Description
Public property DataManager Gets the reference to the data manager instance of the framework this currency converter is associated with
Public property Framework Gets the reference to the framework instance this currency converter is associated with
Top
Methods
 
Name Description
Public method Convert(double, byte, byte) Converts specified amount from one currency to another
Top
Remarks
 
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.

In this article

Definition