示例#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;
          
        }
示例#2
0
 public void MyTestCleanup()
 {
     _target = null;
 }
示例#3
0
 public void MyTestInitialize()
 {
     _target = new IntelService();
 }