/// <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); }
public IMetricsRecordBuilder Add(IImmutableMetric metric) { throw new System.NotImplementedException(); }
public IMetricsRecordBuilder Add(IImmutableMetric metric) { throw new NotImplementedException(); }