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