public ProjectManagerGateway(RedmineSettings redmineSettings) { Require.NotNull(redmineSettings, nameof(redmineSettings)); _redmineSettings = redmineSettings; _redmineManager = new RedmineManager(redmineSettings.RedmineHost, redmineSettings.ApiKey); }
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; }