Esempio n. 1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="TestUsbDeviceWatcher"/> class.
 /// </summary>
 /// <param name="marshalWrapper">
 /// The marshal Wrapper.
 /// </param>
 /// <param name="usbDeviceNotificationFactory">
 /// The usb Device Notification Factory.
 /// </param>
 /// <param name="usbForm">
 /// The usb form.
 /// </param>
 /// <param name="guid">
 /// The guid.
 /// </param>
 public TestUsbDeviceWatcher(
     IMarshalWrapper marshalWrapper,
     IUsbDeviceNotificationFactory usbDeviceNotificationFactory,
     IUsbForm usbForm,
     Guid guid)
     : base(marshalWrapper, usbDeviceNotificationFactory, usbForm, guid)
 {
 }
Esempio n. 2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="UsbDeviceWatcher"/> class.
 /// </summary>
 /// <param name="marshalWrapper">
 /// The marshal Wrapper.
 /// </param>
 /// <param name="usbDeviceNotificationFactory">
 /// The usb device notification factory.
 /// </param>
 /// <param name="usbForm">
 /// The usb form.
 /// </param>
 /// <param name="guid">
 /// The guid.
 /// </param>
 public UsbDeviceWatcher(IMarshalWrapper marshalWrapper, IUsbDeviceNotificationFactory usbDeviceNotificationFactory, IUsbForm usbForm, Guid guid)
 {
     _marshalWrapper = marshalWrapper;
     _usbDeviceNotificationFactory = usbDeviceNotificationFactory;
     _usbForm   = usbForm;
     DeviceGuid = guid;
     RegisteredCreatedHandle = null;
     _observable             = ConnectableObservable().RefCount();
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="UsbDeviceWatcher"/> class.
 /// </summary>
 /// <param name="marshalWrapper">
 /// The marshal Wrapper.
 /// </param>
 /// <param name="usbDeviceNotificationFactory">
 /// The usb device notification factory.
 /// </param>
 /// <param name="usbForm">
 /// The usb form.
 /// </param>
 /// <param name="guid">
 /// The guid.
 /// </param>
 public UsbDeviceWatcher(IMarshalWrapper marshalWrapper, IUsbDeviceNotificationFactory usbDeviceNotificationFactory, IUsbForm usbForm, Guid guid)
 {
     _marshalWrapper = marshalWrapper;
     _usbDeviceNotificationFactory = usbDeviceNotificationFactory;
     _usbForm = usbForm;
     DeviceGuid = guid;
     RegisteredCreatedHandle = null;
     _observable = ConnectableObservable().RefCount();
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="TestUsbDeviceWatcher"/> class.
 /// </summary>
 /// <param name="marshalWrapper">
 /// The marshal Wrapper.
 /// </param>
 /// <param name="usbDeviceNotificationFactory">
 /// The usb Device Notification Factory.
 /// </param>
 /// <param name="usbForm">
 /// The usb form.
 /// </param>
 /// <param name="guid">
 /// The guid.
 /// </param>
 public TestUsbDeviceWatcher(
     IMarshalWrapper marshalWrapper,
     IUsbDeviceNotificationFactory usbDeviceNotificationFactory,
     IUsbForm usbForm,
     Guid guid)
     : base(marshalWrapper, usbDeviceNotificationFactory, usbForm, guid)
 {
 }