public ProjectApplication(IProjectRepository projectRepository, IProjectDomainService projectDomainService, IProjectCache projectCache, IOperateLogDomainService operateLogDomainService) { _projectRepository = projectRepository; _projectDomainService = projectDomainService; _operateLogDomainService = operateLogDomainService; _projectCache = projectCache; }
public RuntimeLogDomainService(IWarningLogDomainService warningLogDomainService, IProjectCache projectCache, IProjectDomainService projectDomainService, IServicerCache servicerCache, IServicerDomainService servicerDomainService, IWarningLogRepository warningLogRepository, IEmailSendedRecordDomainService emailSendedRecordDomainService) { _projectCache = projectCache; _projectDomainService = projectDomainService; _servicerCache = servicerCache; _servicerDomainService = servicerDomainService; _warningLogDomainService = warningLogDomainService; _warningLogRepository = warningLogRepository; _emailSendedRecordDomainService = emailSendedRecordDomainService; }
private void checkProjectProperties(IProjectCache projectCache) { IEnumerable <Project> fullProjectList = projectCache.GetProjects(); Project selectedProject = fullProjectList .SingleOrDefault(project => project.Path_With_Namespace == _mergeRequestKey.ProjectKey.ProjectName); if (selectedProject.Merge_Method != "ff") { traceError(String.Format("Unsupported merge method {0} detected in project {1}", selectedProject.Merge_Method, selectedProject.Path_With_Namespace)); string message = "Current version supports projects with Fast Forward merge method only"; MessageBox.Show(message, "Unsupported project merge method", MessageBoxButtons.OK, MessageBoxIcon.Error); Close(); } }
public ProjectDomainService(IProjectCache projectCache, IProjectRepository projectRepository) { _projectCache = projectCache; _projectRepository = projectRepository; }
public SqlStatisticsDomainService(IProjectCache projectCache) { _projectCache = projectCache; }
public ProjectService(IProjectCache cache, IProjectRepository repository) { _cache = cache; _repository = repository; }