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); }
private void configure(string hostName, int port = 7999) { this._server = null; // reset current instance this.Url = string.Format("http://{0}:{1}/service", hostName, port); }
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; }