public WorkController(
            AppSettings appSettings,
            IIterationsApiService iterationsApi,
            IWorkApiService workApi,
            ITeamsApiService teamsApi,
            WorkActivityAppService workActivityAppService,
            WorkIterationAppService workIterationAppService)
            : base(appSettings, workApi)
        {
            if (appSettings == null)
            {
                throw new ArgumentNullException(nameof(appSettings));
            }
            if (workApi == null)
            {
                throw new ArgumentNullException(nameof(workApi));
            }

            _iterationsApi          = iterationsApi ?? throw new ArgumentNullException(nameof(iterationsApi));
            _teamsApi               = teamsApi ?? throw new ArgumentNullException(nameof(teamsApi));
            _workActivityAppService = workActivityAppService ??
                                      throw new ArgumentNullException(nameof(workActivityAppService));
            _workIterationAppService = workIterationAppService ??
                                       throw new ArgumentNullException(nameof(workIterationAppService));
        }
 public WorkLeaderboardAppService(
     IIterationsApiService iterationsApi,
     ITeamsApiService teamsApi,
     WorkIterationAppService workIterationAppService)
 {
     _iterationsApi           = iterationsApi ?? throw new ArgumentNullException(nameof(iterationsApi));
     _teamsApi                = teamsApi ?? throw new ArgumentNullException(nameof(teamsApi));
     _workIterationAppService = workIterationAppService ??
                                throw new ArgumentNullException(nameof(workIterationAppService));
 }
 public WorkIterationAppService(
     IIterationsApiService iterationsApi,
     ITeamsApiService teamsApi,
     IWiqlApiService wiqlApi,
     IWorkApiService workApi)
 {
     _iterationsApi = iterationsApi ?? throw new ArgumentNullException(nameof(iterationsApi));
     _teamsApi      = teamsApi ?? throw new ArgumentNullException(nameof(teamsApi));
     _wiqlApi       = wiqlApi ?? throw new ArgumentNullException(nameof(wiqlApi));
     _workApi       = workApi ?? throw new ArgumentNullException(nameof(workApi));
 }
 public WorkActivityAppService(
     ICache cache,
     IGitApiService gitApi,
     IIterationsApiService iterationsApi,
     ITeamsApiService teamsApi,
     WorkIterationAppService workIterationAppService)
 {
     _cache                   = cache ?? throw new ArgumentNullException(nameof(cache));
     _gitApi                  = gitApi ?? throw new ArgumentNullException(nameof(gitApi));
     _iterationsApi           = iterationsApi ?? throw new ArgumentNullException(nameof(iterationsApi));
     _teamsApi                = teamsApi ?? throw new ArgumentNullException(nameof(teamsApi));
     _workIterationAppService = workIterationAppService ??
                                throw new ArgumentNullException(nameof(workIterationAppService));
 }
 public TeamMetaAppService(
     ICache cache,
     IGitApiService gitApi,
     IIterationsApiService iterationsApi,
     IProjectsApiService projectsApi,
     IQueriesApiService queriesApi,
     ITeamsApiService teamsApi,
     IWorkApiService workApi)
 {
     _cache         = cache ?? throw new ArgumentNullException(nameof(cache));
     _gitApi        = gitApi ?? throw new ArgumentNullException(nameof(gitApi));
     _iterationsApi = iterationsApi ?? throw new ArgumentNullException(nameof(iterationsApi));
     _projectsApi   = projectsApi ?? throw new ArgumentNullException(nameof(projectsApi));
     _queriesApi    = queriesApi ?? throw new ArgumentNullException(nameof(queriesApi));
     _teamsApi      = teamsApi ?? throw new ArgumentNullException(nameof(teamsApi));
     _workApi       = workApi ?? throw new ArgumentNullException(nameof(workApi));
 }
        public MetaController(
            AppSettings appSettings,
            IProjectsApiService projectsApi,
            IQueriesApiService queriesApi,
            ITeamsApiService teamsApi,
            IWorkApiService workApi)
            : base(appSettings, workApi)
        {
            if (appSettings == null)
            {
                throw new ArgumentNullException(nameof(appSettings));
            }
            if (workApi == null)
            {
                throw new ArgumentNullException(nameof(workApi));
            }

            _projectsApi = projectsApi ?? throw new ArgumentNullException(nameof(projectsApi));
            _queriesApi  = queriesApi ?? throw new ArgumentNullException(nameof(queriesApi));
            _teamsApi    = teamsApi ?? throw new ArgumentNullException(nameof(teamsApi));
        }