protected override FileBrowingNode DoGetRootNode() { if (null == FileServiceX) { FileServiceX = new MirrorDeviceService(CreateFileSystemDevice(), null); FileServiceX.OpenDevice(); FileServiceX.LoadDevicePartitions(); } return(new AndroidMirrorFileBrowingNode() { Name = "Root", NodeType = FileBrowingNodeType.Root }); }
private void CreateFileServiceAbstractX(IFileSystemDevice device, SingleTaskReporterBase iAsync) { if (device is MirrorDevice) { fileServiceX = new MirrorDeviceService(device, iAsync); } else if (device is SDCardDevice) { fileServiceX = new SDCardDeviceService(device, iAsync); } else if (device is CellbriteDevice) { fileServiceX = new CellbriteDeviceService(device, iAsync); } else if (device is CottageDevice) { fileServiceX = new CottageMirrorDeviceService(device, iAsync); } }
private void CreateFileServiceAbstractX(IFileSystemDevice device, IAsyncProgress iAsync) { if (device is MirrorDevice) { fileServiceX = new MirrorDeviceService(device, iAsync); } else if (device is SDCardDevice) { fileServiceX = new SDCardDeviceService(device, iAsync); } else if (device is CellbriteDevice) { fileServiceX = new CellbriteDeviceService(device, iAsync); } else if (device is CottageDevice) { fileServiceX = new CottageMirrorDeviceService(device, iAsync); } }