in src/Microsoft.ServiceFabric.AspNetCore/AspNetCoreCommunicationListener.cs [38:53]
public AspNetCoreCommunicationListener(ServiceContext serviceContext, Func<string, AspNetCoreCommunicationListener, IWebHost> build)
{
if (serviceContext == null)
{
throw new ArgumentNullException("serviceContext");
}
if (build == null)
{
throw new ArgumentNullException("build");
}
this.serviceContext = serviceContext;
this.internalListener = new WebHostCommunicationListener(build, this);
this.urlSuffix = string.Empty;
}