Esempio n. 1
0
 protected AbstractMetricGroup(IMetricRegistry registry, string[] scope, AbstractMetricGroup <TParent> parent)
 {
     Registry        = Preconditions.CheckNotNull(registry);
     ScopeComponents = Preconditions.CheckNotNull(scope);
     Parent          = parent;
     _scopeStrings   = new string[registry.NumberReporters];
 }
 /// <summary>
 /// Creates a new ComponentMetricGroup.
 /// </summary>
 /// <param name="registry">registry to register new metrics with</param>
 /// <param name="scope">the scope of the group</param>
 /// <param name="parent"></param>
 protected ComponentMetricGroup(IMetricRegistry registry, string[] scope, AbstractMetricGroup <TParent> parent)
     : base(registry, scope, parent)
 {
 }