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;
        }
Esempio n. 2
0
 public VersionControlSystemGateway(GitlabSettings settings)
 {
     Require.NotNull(settings, nameof(settings));
     _settings     = settings;
     _gitLabClient = GitLabClient.Connect(_settings.Host, _settings.ApiKey);
 }
 public VersionControlSystemGateway(GitlabSettings settings)
 {
     Require.NotNull(settings, nameof(settings));
     _settings = settings;
     _gitLabClient = GitLabClient.Connect(_settings.Host, _settings.ApiKey);
 }