private void Increment(Metrics.Types type) { lock (locker) { ++values[(int)type]; } }
public MetricsTopicSource(Metrics metrics, Metrics.Types metricType) { this.metrics = metrics; this.metricType = metricType; }
public MetricEventArgs(Metrics.Types type, UInt64 value) { this.Type = type; this.Value = value; }