public FileSystemNodeViewModelFactory( IFileSystemNodeOpeningBehavior fileOpeningBehavior, IFileSystemNodeOpeningBehavior directoryOpeningBehavior, IFileSizeFormatter fileSizeFormatter, IPathService pathService, IOperationsService operationsService, IClipboardOperationsService clipboardOperationsService, IFilesOperationsMediator filesOperationsMediator, IFileSystemNodePropertiesBehavior filePropertiesBehavior, IFileSystemNodePropertiesBehavior directoryPropertiesBehavior, IDialogService dialogService, ITrashCanService trashCanService, IFileService fileService, IDirectoryService directoryService) { _fileOpeningBehavior = fileOpeningBehavior; _directoryOpeningBehavior = directoryOpeningBehavior; _fileSizeFormatter = fileSizeFormatter; _pathService = pathService; _operationsService = operationsService; _clipboardOperationsService = clipboardOperationsService; _filesOperationsMediator = filesOperationsMediator; _filePropertiesBehavior = filePropertiesBehavior; _directoryPropertiesBehavior = directoryPropertiesBehavior; _dialogService = dialogService; _trashCanService = trashCanService; _fileService = fileService; _directoryService = directoryService; }
public FileSystemNodeViewModelFactory( IFileSystemNodeOpeningBehavior fileOpeningBehavior, IFileSystemNodeOpeningBehavior directoryOpeningBehavior, IFileSizeFormatter fileSizeFormatter, IPathService pathService, IFilesOperationsMediator filesOperationsMediator, IFileSystemNodePropertiesBehavior filePropertiesBehavior, IFileSystemNodePropertiesBehavior directoryPropertiesBehavior, IFileService fileService, IDirectoryService directoryService, IFileSystemNodeFacade fileSystemNodeFacade, IFileTypeMapper fileTypeMapper) { _fileOpeningBehavior = fileOpeningBehavior; _directoryOpeningBehavior = directoryOpeningBehavior; _fileSizeFormatter = fileSizeFormatter; _pathService = pathService; _filesOperationsMediator = filesOperationsMediator; _filePropertiesBehavior = filePropertiesBehavior; _directoryPropertiesBehavior = directoryPropertiesBehavior; _fileService = fileService; _directoryService = directoryService; _fileSystemNodeFacade = fileSystemNodeFacade; _fileTypeMapper = fileTypeMapper; }
protected FileSystemNodeViewModelBase( IFileSystemNodeOpeningBehavior fileSystemNodeOpeningBehavior, IOperationsService operationsService, IClipboardOperationsService clipboardOperationsService, IFilesOperationsMediator filesOperationsMediator, IFileSystemNodePropertiesBehavior fileSystemNodePropertiesBehavior, IDialogService dialogService, ITrashCanService trashCanService) { _fileSystemNodeOpeningBehavior = fileSystemNodeOpeningBehavior; _operationsService = operationsService; _clipboardOperationsService = clipboardOperationsService; _filesOperationsMediator = filesOperationsMediator; _fileSystemNodePropertiesBehavior = fileSystemNodePropertiesBehavior; _dialogService = dialogService; _trashCanService = trashCanService; OpenCommand = ReactiveCommand.Create(Open); StartRenamingCommand = ReactiveCommand.Create(StartRenaming); RenameCommand = ReactiveCommand.Create(Rename); CopyToClipboardCommand = ReactiveCommand.CreateFromTask(CopyToClipboardAsync); DeleteCommand = ReactiveCommand.CreateFromTask(DeleteAsync); CopyCommand = ReactiveCommand.CreateFromTask(CopyAsync); MoveCommand = ReactiveCommand.CreateFromTask(MoveAsync); ShowPropertiesCommand = ReactiveCommand.CreateFromTask(ShowPropertiesAsync); }
public NodeViewModel( IFileSystemNodeOpeningBehavior fileSystemNodeOpeningBehavior, IOperationsService operationsService, IClipboardOperationsService clipboardOperationsService, IFilesOperationsMediator filesOperationsMediator, IFileSystemNodePropertiesBehavior fileSystemNodePropertiesBehavior, IDialogService dialogService, ITrashCanService trashCanService, IArchiveService archiveService, ISystemDialogService systemDialogService, IOpenWithApplicationService openWithApplicationService, IPathService pathService) : base( fileSystemNodeOpeningBehavior, operationsService, clipboardOperationsService, filesOperationsMediator, fileSystemNodePropertiesBehavior, dialogService, trashCanService, archiveService, systemDialogService, openWithApplicationService, pathService) { }
public NodeViewModel( IFileSystemNodeOpeningBehavior fileSystemNodeOpeningBehavior, IFileSystemNodePropertiesBehavior fileSystemNodePropertiesBehavior, IFileSystemNodeFacade fileSystemNodeFacade, bool shouldShowOpenSubmenu) : base( fileSystemNodeOpeningBehavior, fileSystemNodePropertiesBehavior, fileSystemNodeFacade, shouldShowOpenSubmenu) { }
public DirectoryViewModel( IFileSystemNodeOpeningBehavior fileSystemNodeOpeningBehavior, IOperationsService operationsService, IClipboardOperationsService clipboardOperationsService, IFilesOperationsMediator filesOperationsMediator, IFileSystemNodePropertiesBehavior fileSystemNodePropertiesBehavior) : base( fileSystemNodeOpeningBehavior, operationsService, clipboardOperationsService, filesOperationsMediator, fileSystemNodePropertiesBehavior) { }
public DirectoryViewModel( IFileSystemNodeOpeningBehavior fileSystemNodeOpeningBehavior, IFileSystemNodePropertiesBehavior fileSystemNodePropertiesBehavior, IFileSystemNodeFacade fileSystemNodeFacade, bool shouldShowOpenSubmenu, IFilesOperationsMediator filesOperationsMediator) : base( fileSystemNodeOpeningBehavior, fileSystemNodePropertiesBehavior, fileSystemNodeFacade, shouldShowOpenSubmenu) { _filesOperationsMediator = filesOperationsMediator; OpenInNewTabCommand = ReactiveCommand.Create(OpenInNewTab); OpenInNewTabOnOppositePanelCommand = ReactiveCommand.Create(OpenInNewTabOnOppositePanel); }
protected FileSystemNodeViewModelBase( IFileSystemNodeOpeningBehavior fileSystemNodeOpeningBehavior, IOperationsService operationsService, IClipboardOperationsService clipboardOperationsService, IFilesOperationsMediator filesOperationsMediator, IFileSystemNodePropertiesBehavior fileSystemNodePropertiesBehavior, IDialogService dialogService, ITrashCanService trashCanService, IArchiveService archiveService, ISystemDialogService systemDialogService, IOpenWithApplicationService openWithApplicationService, IPathService pathService) { _fileSystemNodeOpeningBehavior = fileSystemNodeOpeningBehavior; _operationsService = operationsService; _clipboardOperationsService = clipboardOperationsService; _filesOperationsMediator = filesOperationsMediator; _fileSystemNodePropertiesBehavior = fileSystemNodePropertiesBehavior; _dialogService = dialogService; _trashCanService = trashCanService; _archiveService = archiveService; _systemDialogService = systemDialogService; _openWithApplicationService = openWithApplicationService; _pathService = pathService; OpenCommand = ReactiveCommand.Create(Open); OpenWithCommand = ReactiveCommand.Create(OpenWithAsync); PackCommand = ReactiveCommand.CreateFromTask(PackAsync); ExtractCommand = ReactiveCommand.CreateFromTask <ExtractCommandType>(ExtractAsync); RenameCommand = ReactiveCommand.Create(Rename); RenameInDialogCommand = ReactiveCommand.CreateFromTask(RenameInDialogAsync); CopyToClipboardCommand = ReactiveCommand.CreateFromTask(CopyToClipboardAsync); DeleteCommand = ReactiveCommand.CreateFromTask(DeleteAsync); CopyCommand = ReactiveCommand.CreateFromTask(CopyAsync); MoveCommand = ReactiveCommand.CreateFromTask(MoveAsync); ShowPropertiesCommand = ReactiveCommand.CreateFromTask(ShowPropertiesAsync); }
protected FileSystemNodeViewModelBase( IFileSystemNodeOpeningBehavior fileSystemNodeOpeningBehavior, IFileSystemNodePropertiesBehavior fileSystemNodePropertiesBehavior, IFileSystemNodeFacade fileSystemNodeFacade, bool shouldShowOpenSubmenu) { _fileSystemNodeOpeningBehavior = fileSystemNodeOpeningBehavior; _fileSystemNodePropertiesBehavior = fileSystemNodePropertiesBehavior; _fileSystemNodeFacade = fileSystemNodeFacade; ShouldShowOpenSubmenu = shouldShowOpenSubmenu; OpenCommand = ReactiveCommand.Create(Open); OpenWithCommand = ReactiveCommand.Create(OpenWithAsync); PackCommand = ReactiveCommand.CreateFromTask(PackAsync); ExtractCommand = ReactiveCommand.CreateFromTask <ExtractCommandType>(ExtractAsync); RenameCommand = ReactiveCommand.Create(Rename); RenameInDialogCommand = ReactiveCommand.CreateFromTask(RenameInDialogAsync); CopyToClipboardCommand = ReactiveCommand.CreateFromTask(CopyToClipboardAsync); DeleteCommand = ReactiveCommand.CreateFromTask(DeleteAsync); CopyCommand = ReactiveCommand.CreateFromTask(CopyAsync); MoveCommand = ReactiveCommand.CreateFromTask(MoveAsync); ShowPropertiesCommand = ReactiveCommand.CreateFromTask(ShowPropertiesAsync); }