Beispiel #1
0
        bool Construct()
        {
            _data   = new FXCMData(this, DataSourceStub);
            _orders = new FXCMOrders(this, OrderExecutionStub);

            StatusSynchronizationEnabled = false;
            StatusSynchronizationSource  = null;

            return(true);
        }
Beispiel #2
0
        /// <summary>
        ///
        /// </summary>
        public override void Dispose()
        {
            DisposeManager();

            FXCMData data = _data;

            if (data != null)
            {
                data.Dispose();
                _data = null;
            }

            if (_orders != null)
            {
                _orders.Dispose();
                _orders = null;
            }
        }