Exemplo n.º 1
0
 /// <summary>
 /// The limit of the maximum number of items that can be added
 /// </summary>
 public int GetMaxAddCount()
 {
     return(cachePressureMonitor.IsUnderPressure(DateTime.UtcNow) ? 0 : defaultMaxAddCount);
 }