public static int GetPort(this IWebHost host) { return(host.GetPorts().First()); }
public static int GetPort(this IWebHost host) => host.GetPorts().First();
public static int GetPort(this IWebHost host) { return(host.GetPorts().First()); }
public static int GetPort(this IWebHost host) => host.GetPorts().First();