public void Setup()
 {
     _service = new WebPurifyService();
     _request = new WebPurifyRequest(_apiUrl, _apikey, _service);
 }
Пример #2
0
 public void Setup()
 {
     _service = new WebPurifyService();
     _request = new WebPurifyRequest(_apiUrl, _apikey, _service);
 }
Пример #3
0
 /// <summary>
 /// Initializes a new instance of the <see cref="WebPurifyRequest"/> class.
 /// </summary>
 /// <param name="url">
 /// The url.
 /// </param>
 /// <param name="key">
 /// The key.
 /// </param>
 public WebPurifyRequest(string url, string key)
 {
     this.url = url;
     this.key = key;
     this.webPurifyService = new WebPurifyService();
 }
Пример #4
0
 /// <summary>
 /// Initializes a new instance of the <see cref="WebPurifyRequest"/> class.
 /// </summary>
 /// <param name="url">
 /// The url.
 /// </param>
 /// <param name="key">
 /// The key.
 /// </param>
 /// <param name="profanityFilterService">
 /// The profanity filter service.
 /// </param>
 public WebPurifyRequest(string url, string key, IWebPurifyService profanityFilterService)
 {
     this.url = url;
     this.key = key;
     this.webPurifyService = profanityFilterService;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="WebPurifyRequest"/> class.
 /// </summary>
 /// <param name="url">
 /// The url.
 /// </param>
 /// <param name="key">
 /// The key.
 /// </param>
 public WebPurifyRequest(string url, string key)
 {
     this.url = url;
     this.key = key;
     this.webPurifyService = new WebPurifyService();
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="WebPurifyRequest"/> class.
 /// </summary>
 /// <param name="url">
 /// The url.
 /// </param>
 /// <param name="key">
 /// The key.
 /// </param>
 /// <param name="profanityFilterService">
 /// The profanity filter service.
 /// </param>
 public WebPurifyRequest(string url, string key, IWebPurifyService profanityFilterService)
 {
     this.url = url;
     this.key = key;
     this.webPurifyService = profanityFilterService;
 }