Exemple #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;
        }
 public void MyTestCleanup()
 {
     _target = null;
 }
 public void MyTestInitialize()
 {
     _target = new IntelService();
 }