Beispiel #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;
        }
Beispiel #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;
          
        }
 public void MyTestCleanup()
 {
     target = null;
 }
 public void MyTestInitialize()
 {
     target =  new ImageryPresenter();
 }