Exemplo n.º 1
0
        public MainPresenter(SynchronizationContext syncContext)
        {
            _intelService = new IntelService(syncContext);
            this.Service  = new ServicePresenter(_intelService, new IntelServiceHost(new PeerRegistrationService()));

            this.AgentStatus = new AgentStatusPresenter();
            this.Imagery     = new ImageryPresenter();

            this.Service.IntelService.AgentStatusChanged += this.AgentStatus.OnAgentStatusChanged;
            this.Service.IntelService.IntelReceived      += this.Imagery.OnImageryReceived;
        }
Exemplo n.º 2
0
        public MainPresenter(SynchronizationContext syncContext)
        {
            _intelService = new IntelService(syncContext);
            this.Service = new ServicePresenter(_intelService, new IntelServiceHost(new PeerRegistrationService()));

            this.AgentStatus = new AgentStatusPresenter();
            this.Imagery = new ImageryPresenter();

            this.Service.IntelService.AgentStatusChanged += this.AgentStatus.OnAgentStatusChanged;
            this.Service.IntelService.IntelReceived += this.Imagery.OnImageryReceived;
          
        }
Exemplo n.º 3
0
 public void MyTestCleanup()
 {
     target = null;
 }
Exemplo n.º 4
0
 public void MyTestInitialize()
 {
     target =  new ImageryPresenter();
 }