예제 #1
0
 /// <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;
 }
예제 #2
0
 /// <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;
 }