Example #1
0
 internal DeviceFactory(
     IPortableDeviceManager portableDeviceManager)
 {
     _portableDeviceManager = portableDeviceManager;
     _portableDeviceFactory = new PortableDeviceFactory();
     _portableDeviceHelper = new PortableDeviceHelper();
     _deviceStreamFactory = new DeviceStreamFactory();
 }
Example #2
0
 internal DeviceFactory(
     IPortableDeviceManager portableDeviceManager)
 {
     _portableDeviceManager = portableDeviceManager;
     _portableDeviceFactory = new PortableDeviceFactory();
     _portableDeviceHelper  = new PortableDeviceHelper();
     _deviceStreamFactory   = new DeviceStreamFactory();
 }
Example #3
0
 internal Device(
     IPortableDeviceManager portableDeviceManager,
     IPortableDeviceFactory portableDeviceFactory,
     IPortableDeviceHelper portableDeviceHelper,
     IDeviceStreamFactory deviceStreamFactory,
     string id)
 {
     _portableDeviceManager = portableDeviceManager;
     _portableDeviceFactory = portableDeviceFactory;
     _portableDeviceHelper  = portableDeviceHelper;
     _deviceStreamFactory   = deviceStreamFactory;
     Id = id;
     OpenDevice(id);
 }
Example #4
0
 internal Device(
     IPortableDeviceManager portableDeviceManager,
     IPortableDeviceFactory portableDeviceFactory, 
     IPortableDeviceHelper portableDeviceHelper,
     IDeviceStreamFactory deviceStreamFactory,
     string id)
 {
     _portableDeviceManager = portableDeviceManager;
     _portableDeviceFactory = portableDeviceFactory;
     _portableDeviceHelper = portableDeviceHelper;
     _deviceStreamFactory = deviceStreamFactory;
     Id = id;
     OpenDevice(id);
 }