/// <summary> /// Constructor /// </summary> /// <param name="gitlabProjectManager">Service to access gitlab projects</param> /// <param name="systemService">Service to access system functionality</param> /// <param name="databaseService">Service to access database</param> /// <param name="gitlabProjectDownloader">Service that cares about downloading git projects</param> /// <param name="dialogService">Service to open dialogs</param> public WindowProjectDetailModel(GitlabProjectManager gitlabProjectManager, ISystemService systemService, DatabaseService databaseService, GitlabProjectDownloader gitlabProjectDownloader, IDialogService dialogService) { _gitlabProjectManager = gitlabProjectManager; _systemService = systemService; _databaseService = databaseService; _gitlabProjectDownloader = gitlabProjectDownloader; _dialogService = dialogService; }
/// <summary> /// Constructor /// </summary> /// <param name="databaseService">Service to access database</param> /// <param name="gitlabProjectManager">Service to manage gitlab projects</param> public PageProjectsModel(DatabaseService databaseService, GitlabProjectManager gitlabProjectManager) { _databaseService = databaseService; _gitlabProjectManager = gitlabProjectManager; }