Пример #1
0
 public VkApiInvoker([NotNull] IVkApiVersionManager versionManager, [NotNull] IRestClient restClient, [NotNull] ICaptchaHandler captchaHandler)
 {
     _versionManager = versionManager;
     _restClient     = restClient;
     _captchaHandler = captchaHandler;
 }
 public BestChangeParser(IHttpService httpService = null, ICaptchaHandler captchaHandler = null)
 {
     _httpService    = httpService ?? new HttpService();
     _captchaHandler = captchaHandler;
     Encoding.RegisterProvider(CodePagesEncodingProvider.Instance);
 }