Esempio n. 1
0
        public OrdersViewModel()
        {
            InitialiseViewModel();

            _orders = new ObservableCollection <IgPublicApiData.OrderModel>();

            WireCommands();

            // Initialise LS subscriptions
            _l1OrderPricesSubscription = new L1OrderPricesSubscription(this);

            // initialise the LS SubscriptionTableKeys
            _orderPricesSubscriptionTableKey = new SubscribedTableKey();

            // initialise to null
            _orderPricesSubscriptionTableKey = null;
        }
Esempio n. 2
0
        public OrdersViewModel()
        {
            InitialiseViewModel();
           
            _orders = new ObservableCollection<IgPublicApiData.OrderModel>();

            WireCommands();

            // Initialise LS subscriptions            
            _l1OrderPricesSubscription   = new L1OrderPricesSubscription(this);
          
            // initialise the LS SubscriptionTableKeys          
            _orderPricesSubscriptionTableKey = new SubscribedTableKey();

            // initialise to null
            _orderPricesSubscriptionTableKey = null;
        }