コード例 #1
0
 /// <summary>
 /// Adds a metric to the record builder. This functions removes duplication in
 /// case metric has already been created by the caller.
 /// </summary>
 /// <param name="metric">Metric to add.</param>
 /// <returns>Self reference.</returns>
 public IMetricsRecordBuilder Add(IImmutableMetric metric)
 {
     if (_recordBuilderFinalized)
     {
         throw new MetricsException("Record builder is already finalized. No more metrics can be added.");
     }
     _metrics.Add(metric);
     return(this);
 }
コード例 #2
0
 public IMetricsRecordBuilder Add(IImmutableMetric metric)
 {
     throw new System.NotImplementedException();
 }
コード例 #3
0
ファイル: MetricTestUtils.cs プロジェクト: motus/reef
 public IMetricsRecordBuilder Add(IImmutableMetric metric)
 {
     throw new NotImplementedException();
 }