Ejemplo n.º 1
0
        /// <summary>
        /// Handle notification, this could be a Created or Destroyed handle.
        /// </summary>
        /// <param name="watchedDevice">
        /// The watched device.
        /// </param>
        private void HandleNotification(IHandle watchedDevice)
        {
            var processHandleResult = watchedDevice.ProcessFor(this);

            processHandleResult.SuccessTest(_observer);
        }
Ejemplo n.º 2
0
 /// <summary>
 /// Handle notification, this could be a Created or Destroyed handle.
 /// </summary>
 /// <param name="watchedDevice">
 /// The watched device.
 /// </param>
 private void HandleNotification(IHandle watchedDevice)
 {
     var processHandleResult = watchedDevice.ProcessFor(this);
     processHandleResult.SuccessTest(_observer);
 }