/// <summary>
 ///     Initializes a new instance of the <see cref="DefaultCounterManager" /> class.
 /// </summary>
 /// <param name="counterBuilder">The counter builder.</param>
 /// <param name="registry">The registry storing all metric data.</param>
 public DefaultCounterManager(IBuildCounterMetrics counterBuilder, IMetricsRegistry registry)
 {
     _counterBuilder = counterBuilder;
     _registry       = registry;
 }
예제 #2
0
 public DefaultCounterBuilderTests(MetricCoreTestFixture fixture)
 {
     _builder = fixture.Builder.Counter;
 }
예제 #3
0
 /// <summary>
 ///     Initializes a new instance of the <see cref="DefaultCounterMetricProvider" /> class.
 /// </summary>
 /// <param name="counterBuilder">The counter builder.</param>
 /// <param name="registry">The registry.</param>
 public DefaultCounterMetricProvider(IBuildCounterMetrics counterBuilder, IMetricsRegistry registry)
 {
     _registry       = registry;
     _counterBuilder = counterBuilder;
 }