Example #1
0
 public MergeRequestNotifier(
     IMergeRequestsProvider mergeRequestsProvider,
     IOptions <GitLabOptions> gitLabOptions,
     IUsersRepository usersRepository,
     IBotService botService)
 {
     this.gitLabOptions         = gitLabOptions.Value;
     this.mergeRequestsProvider = mergeRequestsProvider;
     this.usersRepository       = usersRepository;
     this.botService            = botService;
 }
Example #2
0
 public ListReviewsCommand(
     IBotService botService,
     IUsersRepository usersRepository,
     IOptions <GitLabOptions> gitLabOptions,
     IMergeRequestsProvider mergeRequestsProvider)
 {
     this.gitLabOptions         = gitLabOptions.Value;
     this.botService            = botService;
     this.usersRepository       = usersRepository;
     this.mergeRequestsProvider = mergeRequestsProvider;
 }