Inheritance: AdapterLib.AdapterDevice
Exemple #1
0
        public void AddBulb(MockLightingServiceHandler handler)
        {
            var bulb = new MockBulbDevice(handler);

            this.devices.Add(bulb);
            this.NotifyDeviceArrival(bulb);
        }
 public void AddBulb(MockLightingServiceHandler handler)
 {
     var bulb = new MockBulbDevice(handler);
     this.devices.Add(bulb);
     this.NotifyDeviceArrival(bulb);
 }