public ValuesController( IStackExchangeClient stackClient, IGitHubClient gitHubClient) { this.stackClient = stackClient; this.gitHubClient = gitHubClient; }
public QuestionController(IFilteredLatestQuestionsFetcher filteredLatestQuestionsFetcher, IStackExchangeClient stackExchangeClient, IAttemptRepository attemptRepository, IMapper mapper) { _filteredLatestQuestionsFetcher = filteredLatestQuestionsFetcher; _stackExchangeClient = stackExchangeClient; _attemptRepository = attemptRepository; _mapper = mapper; }
public PreviouslyAttemptedQuestionFetcher(IAttemptRepository attemptRepository, IStackExchangeClient stackExchangeClient, IAttemptedQuestionDtoAssembler attemptedQuestionDtoAssembler, IMapper mapper) { _attemptRepository = attemptRepository; _stackExchangeClient = stackExchangeClient; _attemptedQuestionDtoAssembler = attemptedQuestionDtoAssembler; _mapper = mapper; }
public static Task <IList <Question> > SearchAsync(this IStackExchangeClient client, string site, string inTitle, CancellationToken ct = default) { return(client.SearchAsync(new SearchQuery { InTitle = inTitle, Site = site }, ct)); }
public HomeController(ILogger <HomeController> logger, IStackExchangeClient stackExchangeClient) { _logger = logger; _stackExchangeClient = stackExchangeClient; }
protected StackExchangeProvider(IStackExchangeClient stackExchangeClient, IQueryParser <SearchQuery> queryParser, IQuestionDescriptionFactory descriptionFactory) { _stackExchangeClient = stackExchangeClient; _queryParser = queryParser; _descriptionFactory = descriptionFactory; }
public StackOverflowProvider(IStackExchangeClient stackExchangeClient, IQueryParser <SearchQuery> queryParser, IQuestionDescriptionFactory descriptionFactory) : base(stackExchangeClient, queryParser, descriptionFactory) { }
public FilteredLatestQuestionsFetcher(IStackExchangeClient stackExchangeClient, IQuestionFilter questionFilter, IAttemptRepository attemptRepository) { _stackExchangeClient = stackExchangeClient; _questionFilter = questionFilter; _attemptRepository = attemptRepository; }