public ForgeInstallViewModel( ForgeInstallService forgeInstallService, VersionService versionService, LibraryService libraryService, DownloadStatusViewModel downloadStatusVM, IWindowManager windowManager) { _forgeInstallService = forgeInstallService; _versionService = versionService; _libraryService = libraryService; Forges = new BindableCollection <Forge>(); _windowManager = windowManager; _downloadStatusVM = downloadStatusVM; }
public ForgeInstallViewModel( ForgeInstallService forgeInstallService, VersionService versionService, LibraryService libraryService, DownloadService downloadService, IWindowManager windowManager, DownloadStatusViewModel downloadStatusVM ) { _forgeInstallService = forgeInstallService; _versionService = versionService; _libraryService = libraryService; _downloadService = downloadService; _windowManager = windowManager; _downloadStatusVM = downloadStatusVM; _forgeInstallService.InstallProgressChanged += progress => InstallProgress = progress; Forges = new BindableCollection <Forge>(); }