public FitocracyService(IWebRequestService webRequest, IScrapingService scraper)
 {
     _webRequest = webRequest;
     _scraper = scraper;
     _username = Settings.Default.FitocracyUsername;
     _password = Settings.Default.FitocracyPassword;
 }
Exemple #2
0
 public OAuthAuthentication(IUriAuthentication uriAuthentication,
                            IExtractTokenFromText extractTokenFromText)
 {
     _webRequestService    = new WebRequestService();
     _uriAuthentication    = uriAuthentication;
     _extractTokenFromText = extractTokenFromText;
 }
Exemple #3
0
        public FlurryService(IWebRequestService webRequestService)
        {
            WebRequestService = webRequestService;

            FlurryAPIAccessCode = APIKeys.FlurryAPIAccessCode;
            WFSiOSCode = APIKeys.FlurryWFSiOSKey;
            WFSAndroidCode = APIKeys.FlurryWFSAndroidKey;
        }
Exemple #4
0
 public VkService(IConfiguration conf, ContextApp context, ILogger <VkService> logger, IMapper mapper, IWebRequestService webRequestService)
 {
     _context           = context;
     _mapper            = mapper;
     _logger            = logger;
     _conf              = conf;
     _vkApi             = new VkApi();
     _webRequestService = webRequestService;
 }
 public DataInitializer(IWebRequestService webRequestService, IUserService userService, IDriverService driverService,
                        IPassengerService passengerService, IDriverRouteService driverRouteService,
                        ILogger <DataInitializer> logger)
 {
     _webRequestService  = webRequestService;
     _userService        = userService;
     _driverService      = driverService;
     _passengerService   = passengerService;
     _driverRouteService = driverRouteService;
     _logger             = logger;
 }
		public MainPresenter(IWebRequestService service)
		{
			_service = service;
		}
Exemple #7
0
 /// <summary>
 /// Initializes a new instance of the <see cref="GoogleFinanceService"/> class.
 /// Service that encapsulates the Google Finance API.
 /// </summary>
 /// <param name="webRequestService">
 /// </param>
 public GoogleFinanceService(IWebRequestService webRequestService)
 {
     _webRequestService = webRequestService;
 }
Exemple #8
0
 public DistimoService(IWebRequestService webRequestService, IDistimoAuthService distimoAuthService)
 {
     WebRequestService = webRequestService;
     DistimoAuthService = distimoAuthService;
 }
 public ThrottledWebRequestDecorator(IWebRequestService decorated)
 {
     _decorated = decorated;
     ThrottleFactor = 10;
 }
 public CachedWebRequestDecorator(IWebRequestService decorated)
 {
     _decorated = decorated;
     Directory.CreateDirectory(_cacheDir);
 }
Exemple #11
0
 public CotizadorDolar(IWebRequestService webRequestService, IConfigurationManagerHelper configurationManagerHelper)
 {
     _webRequestService          = webRequestService;
     _configurationManagerHelper = configurationManagerHelper;
 }
        //ios"AIzaSyBsLA7FxLc3waWGb0MtB2e1nBRfEZIeZ6Q";

        public OnlineTranslationService(IWebRequestService webRequestService)
        {
            _webRequestService = webRequestService;
        }
Exemple #13
0
 public ApiService(IWebRequestService webRequestService)
 {
     this._webRequestService = webRequestService;
 }