コード例 #1
0
 private void UpdateActiveConnectionCount(int change)
 {
     _metricRepository.UpdateMetric(
         new Uri(_target),
         MetricType.ActiveConnection,
         m => new ActiveConnectionMetric(m.Value + change));
 }