public void Setup()
 {
     _service = new WebPurifyService();
     _request = new WebPurifyRequest(_apiUrl, _apikey, _service);
 }
Ejemplo n.º 2
0
 public void Setup()
 {
     _service = new WebPurifyService();
     _request = new WebPurifyRequest(_apiUrl, _apikey, _service);
 }
Ejemplo n.º 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();
 }
Ejemplo n.º 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;
 }