public AssemblyController(IAssemblyService assemblyService, IFileInfoService fileInfoService , IServiceInfoService serviceInfoService) { _assemblyService = assemblyService; _serviceInfoService = serviceInfoService; _fileInfoService = fileInfoService; }
public MainViewModel(IDialogService dialogService, IPresetReaderService presetReaderService, IPresetRenderService presetRenderService, IPresetBuilderService presetBuilderService, IErrorDisplayService errorDisplayService, IToolService toolService, IFileInfoService fileInfoService) { Session = new SessionViewModel(); FileSelectorVM = new FileSelectorViewModel(Session, dialogService, fileInfoService); PresetSelectorVM = new PresetSelectorViewModel(Session, presetReaderService, presetRenderService); JobVM = new JobViewModel(Session, presetBuilderService, dialogService, errorDisplayService); ToolsVM = new ToolsViewModel(toolService); GetFFmpegCommand = new MvxCommand(OnGetFFmpeg); OpenCloseToolFlyoutCommand = new MvxCommand(OnOpenCloseFlyout); }
public FileInfoController(IFileInfoService fileInfoService) { this._fileInfoService = fileInfoService; this._internalServerError = new ContentResult() { StatusCode = (int)HttpStatusCode.InternalServerError, Content = "Internal Server Error" }; }
public FileSelectorViewModel(SessionViewModel session, IDialogService dialogService, IFileInfoService infoService) { _session = session; _dialogService = dialogService; _infoService = infoService; Files = new ObservableCollectionExt <FileSelectorItemViewModel>(); Files.CollectionChanged += UpdateSession; AddFilesCommand = new MvxCommand(OnAddFiles); ClearListCommand = new MvxCommand(OnClearList); RemoveSelectedCommand = new MvxCommand <FileSelectorItemViewModel>(OnRemoveSelected, CanRemoveSelected); FilesDragedinCommand = new MvxCommand <string[]>(OnFilesDraggedIn); AddFolderCommand = new MvxCommand(OnAddFolder); SortCommand = new MvxCommand <int>(OnSort); InfoSelectedCommand = new MvxCommand <FileSelectorItemViewModel>(OnInfo, CanGetInfo); AddArguments(Environment.GetCommandLineArgs()); }
public ResultController(IFileInfoService fileInfoService, IUserInfoService userInfoService) { this._fileInfoService = fileInfoService; _userInfoService = userInfoService; }
public FileController(IFileInfoService service) { _service = service; }
public FileManagerController(IFileInfoService fileInfoService, IUserInfoService userInfoService) { this._fileInfoService = fileInfoService; this._userInfoService = userInfoService; }