예제 #1
0
 public RequestResponseWithCaptcha(Func<string, bool> retryNeededForRequest, Tuple<int, int> tryAgainInException,
                                   ICaptchaRequestResponse captchaRequestResponse, ICaptchaBreaker captchaBreaker, bool extensiveLoggingNeeded=false)
     : base(retryNeededForRequest, tryAgainInException)
 {
     _captchaRequestResponse = captchaRequestResponse;
     _extensiveLoggingNeeded = extensiveLoggingNeeded;
     _captchaBreaker = captchaBreaker ?? DefaultCaptchaBreaker;
 }
예제 #2
0
 public RequestResponseWithNatCap(string name, Func<string, bool> retryNeededForRequest, Tuple<int, int> tryAgainInException, ICaptchaRequestResponse captchaRequestResponse, ICaptchaBreaker captchaBreaker)
     : base(retryNeededForRequest, tryAgainInException, captchaRequestResponse, captchaBreaker)
 {
     _name = name;
 }
 public RequestResponseWithWebBrowser(string name, Func<string, bool> retryNeededForRequest, Tuple<int, int> tryAgainInException, ICaptchaRequestResponse captchaRequestResponse, ICaptchaBreaker captchaBreaker)
     : base(retryNeededForRequest, tryAgainInException, captchaRequestResponse, captchaBreaker)
 {
     _name = name;
     DisableClickSounds();
 }