Пример #1
0
 void ActivitySystem_DeviceRemoved(object sender, DeviceRemovedEventArgs e)
 {
     Notifier.NotifyAll(NotificationType.DeviceRemoved, e.Id);
 }
Пример #2
0
 protected virtual void OnDeviceRemoved( DeviceRemovedEventArgs e )
 {
     var handler = DeviceRemoved;
     if ( handler != null ) handler( this, e );
 }
Пример #3
0
 void node_DeviceRemoved(object sender, DeviceRemovedEventArgs e)
 {
     //OnDeviceRemoved(e);
 }
Пример #4
0
 void ActivityNode_DeviceRemoved( object sender, DeviceRemovedEventArgs e )
 {
     IDevice backupDevice;
     devices.TryRemove( e.Id, out backupDevice );
 }