File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
src/StackExchange.Metrics Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -27,8 +27,8 @@ public MetricSource(MetricSourceOptions options)
2727
2828 /// <summary>
2929 /// Gets <see cref="MetricSourceOptions"/> that should be used when creating metrics in this source.
30- /// </summary>
31- protected MetricSourceOptions Options { get ; }
30+ /// </summary>
31+ public MetricSourceOptions Options { get ; }
3232
3333 /// <summary>
3434 /// Called when an <see cref="IMetricsCollector"/> is starting in order to attach
@@ -94,7 +94,7 @@ public IEnumerable<Metadata> GetMetadata()
9494 /// <param name="metric">
9595 /// Instance of a metric.
9696 /// </param>
97- public TMetric Add < TMetric > ( TMetric metric ) where TMetric : MetricBase
97+ public virtual TMetric Add < TMetric > ( TMetric metric ) where TMetric : MetricBase
9898 {
9999 lock ( _syncLock )
100100 {
@@ -115,7 +115,7 @@ public TMetric Add<TMetric>(TMetric metric) where TMetric : MetricBase
115115 /// <param name="metric">
116116 /// Instance of a metric.
117117 /// </param>
118- public TTaggedMetric Add < TTaggedMetric , TMetric > ( TTaggedMetric metric ) where TTaggedMetric : TaggedMetricFactory < TMetric > where TMetric : MetricBase
118+ public virtual TTaggedMetric Add < TTaggedMetric , TMetric > ( TTaggedMetric metric ) where TTaggedMetric : TaggedMetricFactory < TMetric > where TMetric : MetricBase
119119 {
120120 lock ( _syncLock )
121121 {
You can’t perform that action at this time.
0 commit comments