Ejemplo n.º 1
0
 internal DeviceFactory(
     IPortableDeviceManager portableDeviceManager)
 {
     _portableDeviceManager = portableDeviceManager;
     _portableDeviceFactory = new PortableDeviceFactory();
     _portableDeviceHelper = new PortableDeviceHelper();
     _deviceStreamFactory = new DeviceStreamFactory();
 }
Ejemplo n.º 2
0
 public DeviceObject(
     IPortableDeviceHelper portableDeviceHelper,
     IPortableDeviceContent portableDeviceContent,
     string id,
     string name)
     : this(portableDeviceHelper, portableDeviceContent, new FilenameMatcher(), id, name)
 {
 }
Ejemplo n.º 3
0
 internal DeviceFactory(
     IPortableDeviceManager portableDeviceManager)
 {
     _portableDeviceManager = portableDeviceManager;
     _portableDeviceFactory = new PortableDeviceFactory();
     _portableDeviceHelper  = new PortableDeviceHelper();
     _deviceStreamFactory   = new DeviceStreamFactory();
 }
Ejemplo n.º 4
0
 public DeviceObject(
     IPortableDeviceHelper portableDeviceHelper, 
     IPortableDeviceContent portableDeviceContent, 
     string id, 
     string name)
     : this(portableDeviceHelper, portableDeviceContent, new FilenameMatcher(), id, name)
 {
 }
Ejemplo n.º 5
0
 public DeviceObject(
     IPortableDeviceHelper portableDeviceHelper,
     IPortableDeviceContent portableDeviceContent,
     IFilenameMatcher filenameMatcher,
     string id,
     string name)
 {
     _portableDeviceHelper  = portableDeviceHelper;
     _portableDeviceContent = portableDeviceContent;
     _filenameMatcher       = filenameMatcher;
     Id   = id;
     Name = name;
 }
Ejemplo n.º 6
0
 public DeviceObject(
     IPortableDeviceHelper portableDeviceHelper, 
     IPortableDeviceContent portableDeviceContent, 
     IFilenameMatcher filenameMatcher,
     string id, 
     string name)
 {
     _portableDeviceHelper = portableDeviceHelper;
     _portableDeviceContent = portableDeviceContent;
     _filenameMatcher = filenameMatcher;
     Id = id;
     Name = name;
 }
Ejemplo n.º 7
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);
 }
Ejemplo n.º 8
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);
 }