// 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); }
public virtual Counters.Counter FindCounter(string counterName, string displayName ) { return(realGroup.FindCounter(counterName, displayName)); }