public ToolsViewModel(Config config, ProgressViewModel progressView, OperationLocker locker, Window mainWindow, SpecialFolders specialFolders, Logger logger, PatchingManager patchingManager, AndroidDebugBridge debugBridge, QuestPatcherUIService uiService, InfoDumper dumper) { Config = config; ProgressView = progressView; Locker = locker; _mainWindow = mainWindow; _specialFolders = specialFolders; _logger = logger; _patchingManager = patchingManager; _debugBridge = debugBridge; _uiService = uiService; _dumper = dumper; _debugBridge.StoppedLogging += (_, _) => { _logger.Information("ADB log exited"); _isAdbLogging = false; this.RaisePropertyChanged(nameof(AdbButtonText)); }; }
public ManageModsViewModel(ModManager modManager, PatchingManager patchingManager, Window mainWindow, OperationLocker locker, ProgressViewModel progressView, BrowseImportManager browseManager) { ProgressView = progressView; ModsList = new ModListViewModel("Mods", true, modManager.Mods, modManager, patchingManager, mainWindow, locker, browseManager); LibrariesList = new ModListViewModel("Libraries", false, modManager.Libraries, modManager, patchingManager, mainWindow, locker, browseManager); }
public ProgressViewModel(OperationLocker locker, ExternalFilesDownloader filesDownloader) { Locker = locker; FilesDownloader = filesDownloader; }