public FacebookApiClient( IRestSharpClientFactory clientFactory, IFacebookConfiguration facebookConfiguration) { _clientFactory = clientFactory; _facebookConfiguration = facebookConfiguration; }
public GoogleApiClient( IRestSharpClientFactory restSharpClientFactory, IGoogleConfiguration googleConfiguration, IMapper mapper) { _clientFactory = restSharpClientFactory; _googleConfiguration = googleConfiguration; _mapper = mapper; }
public TvShowScraperService(IRestSharpClientFactory clientFactory, IOptions <TvMazeAPIOptions> tvMazeAPIOptions, IShowsService showsService, ILogger <TvShowScraperService> logger) : base(logger) { _clientFactory = clientFactory; _tvMazeAPIOptions = tvMazeAPIOptions.Value; _showsService = showsService; DelayTimeSpan = TimeSpan.FromDays(1d); }
public TestsClient(string serviceUrl, IRestSharpClientFactory clientFactory) { ServiceUrl = serviceUrl; _clientFactory = clientFactory; _restSharpHelper = new RestSharpHelper(RESOURCE_PATH); }