Example #1
0
 public void Init(PermanentQueue <Event> messages, object[] args)
 {
     this.messageQueue = messages;
     messages.AddReader((object)this);
     this.portfolioName = args[0] as string;
     this.Reset();
 }
Example #2
0
 public void Init(PermanentQueue<Event> messages, object[] args)
 {
   this.messageQueue = messages;
   messages.AddReader((object) this);
     this.portfolioName =  args[0] as string;
   this.Reset();
 }
Example #3
0
 protected override void OnInit()
 {
     Queue = new PermanentQueue <Event>();
     Queue.AddReader(this);
     Reset(true);
     this.framework.EventManager.Dispatcher.FrameworkCleared += new FrameworkEventHandler(OnFrameworkCleared);
     this.framework.GroupDispatcher.AddListener(this);
     this.eventsBySelectorKey[""] = new List <GroupEvent>();
 }
Example #4
0
 protected override void OnInit()
 {
     Queue = new PermanentQueue<Event>();
     Queue.AddReader(this);
     Reset(true);
     this.framework.EventManager.Dispatcher.FrameworkCleared += OnFrameworkCleared;
     this.framework.GroupDispatcher.AddListener(this);
     this.eventsBySelectorKey[""] = new List<GroupEvent>();
 }
        public StrategyMonitorWidget()
        {
            Build();
            Queue = new PermanentQueue <Event>();
            Queue.AddReader(this);
            var f = Framework.Current;

            f.GroupDispatcher = new GroupDispatcher(f);
            f.GroupDispatcher.AddListener(this);
        }
Example #6
0
 public void Init(PermanentQueue<Event> messages)
 {
   this.messageQueue = messages;
   messages.AddReader((object) this);
 }
Example #7
0
 public void Init(PermanentQueue <Event> messages)
 {
     this.messageQueue = messages;
     messages.AddReader((object)this);
 }