/// <summary> /// Initializes a new instance of the <see cref="DeviceNotifications"/> class. /// </summary> /// <param name="broadcastDeviceInterfaceFactory"> /// The broadcast Device Interface Factory. /// </param> /// <param name="marshallWrapper"> /// The marshall wrapper. /// </param> /// <param name="unsafeNativeMethodsWrapper"> /// The unsafe native methods wrapper. /// </param> /// <param name="processHandleResultFactory"> /// The process handle result factory. /// </param> public DeviceNotifications( IBroadcastDeviceInterfaceFactory broadcastDeviceInterfaceFactory, IMarshalWrapper marshallWrapper, IUnsafeNativeMethodsWrapper unsafeNativeMethodsWrapper, IProcessHandleResultFactory processHandleResultFactory) { _broadcastDeviceInterfaceFactory = broadcastDeviceInterfaceFactory; _marshallWrapper = marshallWrapper; _unsafeNativeMethodsWrapper = unsafeNativeMethodsWrapper; _processHandleResultFactory = processHandleResultFactory; }
/// <summary> /// Initializes a new instance of the <see cref="DeviceNotifications"/> class. /// </summary> /// <param name="broadcastDeviceInterfaceFactory"> /// The broadcast Device Interface Factory. /// </param> /// <param name="marshallWrapper"> /// The marshall wrapper. /// </param> /// <param name="unsafeNativeMethodsWrapper"> /// The unsafe native methods wrapper. /// </param> /// <param name="processHandleResultFactory"> /// The process handle result factory. /// </param> public DeviceNotifications( IBroadcastDeviceInterfaceFactory broadcastDeviceInterfaceFactory, IMarshalWrapper marshallWrapper, IUnsafeNativeMethodsWrapper unsafeNativeMethodsWrapper, IProcessHandleResultFactory processHandleResultFactory) { _broadcastDeviceInterfaceFactory = broadcastDeviceInterfaceFactory; _marshallWrapper = marshallWrapper; _unsafeNativeMethodsWrapper = unsafeNativeMethodsWrapper; _processHandleResultFactory = processHandleResultFactory; }