Ejemplo n.º 1
0
 public virtual string GetDisplayName()
 {
     if (displayName == null)
     {
         displayName = ResourceBundles.GetCounterGroupName(GetName(), GetName());
     }
     return(displayName);
 }
Ejemplo n.º 2
0
 /// <summary>Create a new counter group</summary>
 /// <param name="name">of the group</param>
 /// <param name="limits">the counters limits policy object</param>
 /// <returns>a new counter group</returns>
 public virtual G NewGroup(string name, Limits limits)
 {
     return(NewGroup(name, ResourceBundles.GetCounterGroupName(name, name), limits));
 }