public void AddWebService <TStartup>() where TStartup : class { var baseUri = new Uri($"http://localhost:{TcpPortUtility.GetFreeTcpPort()}"); this.webServices.Add(typeof(TStartup), ResourceWebService.Create <TStartup>(baseUri)); }
public void AddWebService <TStartup>() where TStartup : class { var baseUri = new Uri($"http://localhost:{TcpPortUtility.GetFreeTcpPort()}"); this.webServices.Add(typeof(TStartup), ResourceWebService.Create <TStartup>(baseUri)); }