コード例 #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;
        }
コード例 #2
0
ファイル: OrdersViewModel.cs プロジェクト: Laurent27/IGScalp
        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;
        }