Removed UseServer

This commit is contained in:
David Fowler 2016-05-20 22:06:12 -07:00
parent 057bcb43ac
commit 14557f0131
1 changed files with 0 additions and 16 deletions

View File

@ -60,22 +60,6 @@ namespace Microsoft.AspNetCore.Hosting
.UseSetting(WebHostDefaults.StartupAssemblyKey, startupAssemblyName);
}
/// <summary>
/// Specify the assembly containing the server to be used by the web host.
/// </summary>
/// <param name="hostBuilder">The <see cref="IWebHostBuilder"/> to configure.</param>
/// <param name="assemblyName">The name of the assembly containing the server to be used.</param>
/// <returns>The <see cref="IWebHostBuilder"/>.</returns>
public static IWebHostBuilder UseServer(this IWebHostBuilder hostBuilder, string assemblyName)
{
if (assemblyName == null)
{
throw new ArgumentNullException(nameof(assemblyName));
}
return hostBuilder.UseSetting(WebHostDefaults.ServerKey, assemblyName);
}
/// <summary>
/// Specify the server to be used by the web host.
/// </summary>