예제 #1
0
 /// <summary>
 ///  Initializes a new instance of the <see cref="WebClient" /> class.
 /// </summary>
 /// <param name="host">TODO: Add documentation text for host parameter.</param>
 /// <param name="port"> TODO: Add documentation text for port parameter.</param>
 public WebClient(string host, string port)
 {
     this.coreProxy = new WebCoreClient("Webthis.coreProxyPortBinding", string.Format("http://{0}:{1}/web/this.coreProxy", host, port));
     this.selectProxy = new WebSelectClient("WebSelectPortBinding", string.Format("http://{0}:{1}/web/select", host, port));
 }
예제 #2
0
 /// <summary>
 ///  Initializes a new instance of the <see cref="WebClient" /> class.
 /// </summary>
 /// <param name="host">TODO: Add documentation text for host parameter.</param>
 /// <param name="port"> TODO: Add documentation text for port parameter.</param>
 public WebClient(string host, string port)
 {
     this.coreProxy   = new WebCoreClient("Webthis.coreProxyPortBinding", string.Format("http://{0}:{1}/web/this.coreProxy", host, port));
     this.selectProxy = new WebSelectClient("WebSelectPortBinding", string.Format("http://{0}:{1}/web/select", host, port));
 }