Beispiel #1
0
 // All the group impls need this for legacy group interface
 internal static long GetCounterValue(CounterGroupBase <Counters.Counter> group, string
                                      counterName)
 {
     Counters.Counter counter = group.FindCounter(counterName, false);
     if (counter != null)
     {
         return(counter.GetValue());
     }
     return(0L);
 }
Beispiel #2
0
 public virtual Counters.Counter FindCounter(string counterName, string displayName
                                             )
 {
     return(realGroup.FindCounter(counterName, displayName));
 }