예제 #1
0
        public void Setup()
        {
            this.rawData   = new RawTradingDataContext();
            this.singleton = new StServerMockSingleton();
            this.stServer  = (StServerClassMock)this.singleton.Instance;

            this.manager = new SmartComOrderManager(this.singleton, this.rawData, new NullLogger());
        }
예제 #2
0
        public void Setup()
        {
            this.tradingData = new TradingDataContext();
            this.orderBook   = new OrderBookContext();
            this.provider    = new MarketDataProvider(this.Handlers, this.tradingData, this.orderBook, new NullLogger());
            this.stServer    = (StServerClassMock)this.StServerMockSingleton.Instance;

            this.Binder.Bind();
        }
예제 #3
0
        public void Setup()
        {
            this.rawTradingDataContext = new RawTradingDataContext();
            this.stServerSingleton     = new StServerMockSingleton();
            this.handlers = new SmartComHandlersDatabase();
            this.binder   = new SmartComBinder(this.stServerSingleton.Instance, this.handlers, new NullLogger());

            this.provider = new RawTradingDataProvider(this.handlers, this.rawTradingDataContext, new NullLogger());
            this.binder.Bind();

            this.stServer = (StServerClassMock)this.stServerSingleton.Instance;
        }
예제 #4
0
 public void Setup()
 {
     this.singleton = new StServerMockSingleton();
     this.stServer  = (StServerClassMock)this.singleton.Instance;
 }