コード例 #1
0
        public ProjectManagerGateway(RedmineSettings redmineSettings)
        {
            Require.NotNull(redmineSettings, nameof(redmineSettings));

            _redmineSettings = redmineSettings;
            _redmineManager = new RedmineManager(redmineSettings.RedmineHost, redmineSettings.ApiKey);
        }
コード例 #2
0
        public ProjectManagerGateway(RedmineSettings redmineSettings)
        {
            Require.NotNull(redmineSettings, nameof(redmineSettings));

            _redmineSettings = redmineSettings;
            _redmineManager  = new RedmineManager(redmineSettings.RedmineHost, redmineSettings.ApiKey);
        }
コード例 #3
0
        public ProjectsMapper(
            IUserManager userManager,
            RedmineSettings redmineSettings,
            GitlabSettings gitlabSettings)
        {
            Require.NotNull(userManager, nameof(userManager));
            Require.NotNull(redmineSettings, nameof(redmineSettings));
            Require.NotNull(gitlabSettings, nameof(gitlabSettings));

            _userManager = userManager;
        }