Esempio n. 1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="HTMLPage"/> class.
 /// </summary>
 /// <param name="html">The html-code associated with the <see cref="HTMLPage"/>.</param>
 /// <param name="request">The requested url that is associated with the <see cref="HTMLPage"/>.</param>
 /// <param name="response">The response url that is associated with the <see cref="HTMLPage"/>.</param>
 public HTMLPage(string html, URL request, URL response)
 {
     this.html        = html;
     this.request     = request;
     this.response    = response;
     this.BufferLevel = 0;
     this.buffer      = null;
 }
Esempio n. 2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="HTMLPage"/> class.
 /// </summary>
 /// <param name="html">The html-code associated with the <see cref="HTMLPage"/>.</param>
 /// <param name="request">The requested url that is associated with the <see cref="HTMLPage"/>.</param>
 /// <param name="response">The response url that is associated with the <see cref="HTMLPage"/>.</param>
 public HTMLPage(string html, URL request, URL response)
 {
     this.html = html;
     this.request = request;
     this.response = response;
     this.BufferLevel = 0;
     this.buffer = null;
 }