public void CacheScavenged(object sender, CacheScavengedEventArgs e)
 {
     if (PerformanceCountersEnabled)
     {
         cacheScavengedItemsCounter.IncrementBy(e.ItemsScavenged);
     }
     if (WmiEnabled)
     {
         FireManagementInstrumentation(new CacheScavengedEvent(instanceName, e.ItemsScavenged));
     }
 }
 public void CacheScavenged(object sender, CacheScavengedEventArgs e)
 {
     if (PerformanceCountersEnabled)
     {
         cacheScavengedItemsCounter.IncrementBy(e.ItemsScavenged);
     }
     if (WmiEnabled)
     {
         System.Management.Instrumentation.Instrumentation.Fire(new CacheScavengedEvent(instanceName, e.ItemsScavenged));
     }
 }