/// <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; }
public DefaultCounterBuilderTests(MetricCoreTestFixture fixture) { _builder = fixture.Builder.Counter; }
/// <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; }