예제 #1
0
 /// <summary>
 /// Raises the DeviceRemoved event.
 /// </summary>
 /// <param name="e">The event arguments.</param>
 protected virtual void OnDeviceRemoved(DeviceRemovedEventArgs e)
 {
     if (Logging.Enabled)
     {
         Logging.Log(this, string.Format("Async discovery device removed: 'UDN:{0}'", e.UDN));
     }
     if (DeviceRemoved != null)
     {
         DeviceRemoved(this, e);
     }
 }
예제 #2
0
 /// <summary>
 /// Raises the DeviceRemoved event.
 /// </summary>
 /// <param name="e">The event arguments.</param>
 protected virtual void OnDeviceRemoved(DeviceRemovedEventArgs e)
 {
     if (Logging.Enabled)
         Logging.Log(this, string.Format("Async discovery device removed: 'UDN:{0}'", e.UDN));
     if (DeviceRemoved != null) DeviceRemoved(this, e);
 }