/// <summary>
 /// Initializes a new instance of the <see cref="CreatedHandle"/> class.
 /// </summary>
 /// <param name="handle">
 /// The handle.
 /// </param>
 /// <param name="deviceNotifications">
 /// The device Management.
 /// </param>
 public CreatedHandle(IntPtr handle, IDeviceNotifications deviceNotifications)
 {
     _deviceNotifications = deviceNotifications;
     Handle = handle;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="DestroyedHandle"/> class.
 /// </summary>
 /// <param name="handle">
 /// The handle.
 /// </param>
 /// <param name="deviceNotifications">
 /// The device Management.
 /// </param>
 public DestroyedHandle(IntPtr handle, IDeviceNotifications deviceNotifications)
 {
     _deviceNotifications = deviceNotifications;
     Handle = handle;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="DestroyedHandle"/> class.
 /// </summary>
 /// <param name="handle">
 /// The handle.
 /// </param>
 /// <param name="deviceNotifications">
 /// The device Management.
 /// </param>
 public DestroyedHandle(IntPtr handle, IDeviceNotifications deviceNotifications)
 {
     _deviceNotifications = deviceNotifications;
     Handle = handle;
 }
Example #4
0
 /// <summary>
 /// Initializes a new instance of the <see cref="CreatedHandle"/> class.
 /// </summary>
 /// <param name="handle">
 /// The handle.
 /// </param>
 /// <param name="deviceNotifications">
 /// The device Management.
 /// </param>
 public CreatedHandle(IntPtr handle, IDeviceNotifications deviceNotifications)
 {
     _deviceNotifications = deviceNotifications;
     Handle = handle;
 }