public VictorOpsApiController( ILogger <VictorOpsApiController> logger, IVictorOpsConfiguration configuration, ITeamsApi teamsApi) { _logger = logger ?? throw new ArgumentNullException(nameof(logger)); _configuration = configuration ?? throw new ArgumentNullException(nameof(configuration)); _teamsApi = teamsApi ?? throw new ArgumentNullException(nameof(teamsApi)); }
public OnCallService( ILogger <OnCallService> logger, IVictorOpsConfiguration configuration, IOnCallApi onCallApi) { _logger = logger ?? throw new ArgumentNullException(nameof(logger)); _configuration = configuration ?? throw new ArgumentNullException(nameof(configuration)); _onCallApi = onCallApi ?? throw new ArgumentNullException(nameof(onCallApi)); }
public TeamService( ILogger <TeamService> logger, IVictorOpsConfiguration configuration, ITeamsApi teamsApi ) { _logger = logger ?? throw new ArgumentNullException(nameof(logger)); _configuration = configuration ?? throw new ArgumentNullException(nameof(configuration)); _teamsApi = teamsApi ?? throw new ArgumentNullException(nameof(teamsApi)); }
public UserService( ILogger <UserService> logger, IVictorOpsConfiguration configuration, IUsersApi usersApi ) { _logger = logger ?? throw new ArgumentNullException(nameof(logger)); _configuration = configuration ?? throw new ArgumentNullException(nameof(configuration)); _usersApi = usersApi ?? throw new ArgumentNullException(nameof(usersApi)); }
public DataController( ILogger <DataController> logger, IVictorOpsConfiguration configuration, ITeamRepository teamRepository, IUserRepository userRepository) { _logger = logger ?? throw new ArgumentNullException(nameof(logger)); _configuration = configuration ?? throw new ArgumentNullException(nameof(configuration)); _teamRepository = teamRepository ?? throw new ArgumentNullException(nameof(teamRepository)); _userRepository = userRepository ?? throw new ArgumentNullException(nameof(userRepository)); }
public VictorOpsTaskHandler( ILogger <VictorOpsTaskHandler> logger, IVictorOpsConfiguration victorOpsConfiguration, ITeamService teamService, IUserService userService, IMemberService memberService, IOnCallService onCallService, ITeamRepository teamRepository, IUserRepository userRepository, IOnCallRepository onCallRepository) { _logger = logger ?? throw new ArgumentNullException(nameof(logger)); _victorOpsConfiguration = victorOpsConfiguration ?? throw new ArgumentNullException(nameof(victorOpsConfiguration)); _teamService = teamService ?? throw new ArgumentNullException(nameof(teamService)); _userService = userService ?? throw new ArgumentNullException(nameof(userService)); _memberService = memberService ?? throw new ArgumentNullException(nameof(memberService)); _teamRepository = teamRepository ?? throw new ArgumentNullException(nameof(teamRepository)); _userRepository = userRepository ?? throw new ArgumentNullException(nameof(userRepository)); _onCallService = onCallService ?? throw new ArgumentNullException(nameof(onCallService)); _onCallRepository = onCallRepository ?? throw new ArgumentNullException(nameof(onCallRepository)); }