public ConnectionManager(IKestrelTrace trace, ResourceCounter upgradedConnections)
 {
     UpgradedConnectionCount = upgradedConnections;
     _trace = trace;
 }
 private static ResourceCounter GetCounter(long?number)
 => number.HasValue
         ? ResourceCounter.Quota(number.Value)
         : ResourceCounter.Unlimited;
 public FrameConnectionManager(IKestrelTrace trace, ResourceCounter normalConnections, ResourceCounter upgradedConnections)
 {
     NormalConnectionCount   = normalConnections;
     UpgradedConnectionCount = upgradedConnections;
     _trace = trace;
 }