Ejemplo n.º 1
0
        private HmdService.Server getServer()
        {
            var server = new HmdService.Server();

            server.Url = string.Format("http://{0}:{1}/ServiceModelSamples/service", this.tb_hostName.Text, this.nud_port.Value);
            return(server);
        }
Ejemplo n.º 2
0
 private void configure(string hostName, int port = 7999)
 {
     this._server = null; // reset current instance
     this.Url = string.Format("http://{0}:{1}/service", hostName, port);
 }
Ejemplo n.º 3
0
 private HmdService.Server getServer()
 {
     var server = new HmdService.Server();
     server.Url = string.Format("http://{0}:{1}/ServiceModelSamples/service", this.tb_hostName.Text, this.nud_port.Value);
     return server;
 }
Ejemplo n.º 4
0
 private void configure(string hostName, int port = 7999)
 {
     this._server = null; // reset current instance
     this.Url     = string.Format("http://{0}:{1}/service", hostName, port);
 }