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