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)
 {
 }
Ejemplo n.º 2
0
 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,
     IArchiveService archiveService,
     ISystemDialogService systemDialogService,
     IOpenWithApplicationService openWithApplicationService)
 {
     _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;
     _archiveService              = archiveService;
     _systemDialogService         = systemDialogService;
     _openWithApplicationService  = openWithApplicationService;
 }
Ejemplo n.º 3
0
 public ResourceOpeningServiceOpenWith(
     IResourceOpeningService resourceOpeningService,
     IOpenWithApplicationService openWithApplicationService,
     IPathService pathService)
 {
     _resourceOpeningService     = resourceOpeningService;
     _openWithApplicationService = openWithApplicationService;
     _pathService = pathService;
 }
Ejemplo n.º 4
0
 public FileSystemNodeFacade(
     IOperationsService operationsService,
     IClipboardOperationsService clipboardOperationsService,
     IFilesOperationsMediator filesOperationsMediator,
     IDialogService dialogService,
     ITrashCanService trashCanService,
     IArchiveService archiveService,
     ISystemDialogService systemDialogService,
     IOpenWithApplicationService openWithApplicationService,
     IPathService pathService)
 {
     _operationsService          = operationsService;
     _clipboardOperationsService = clipboardOperationsService;
     _filesOperationsMediator    = filesOperationsMediator;
     _dialogService              = dialogService;
     _trashCanService            = trashCanService;
     _archiveService             = archiveService;
     _systemDialogService        = systemDialogService;
     _openWithApplicationService = openWithApplicationService;
     _pathService = pathService;
 }
Ejemplo n.º 5
0
        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);
        }