示例#1
0
 XAMLatorMonitor()
 {
     clients   = new Dictionary <DeviceInfo, HttpClient>();
     discovery = new DiscoveryReceiver();
     discovery.DevicesChanged += HandleDiscoveryDevicesChanged;
     discovery.Start();
 }
示例#2
0
 XAMLatorMonitor(IIDE ide)
 {
     this.ide  = ide;
     clients   = new Dictionary <DeviceInfo, HttpClient>();
     discovery = new DiscoveryReceiver();
     discovery.DevicesChanged += HandleDiscoveryDevicesChanged;
     discovery.Start();
     ide.DocumentChanged += HandleDocumentChanged;
 }