/// <summary> /// Subscribes the tracker to a metric object. /// </summary> /// <param name="provider">The metric to track.</param> public void Subscribe(IMetric provider) { _metric = provider; _unsubscriber = provider.Subscribe(this); }
/// <summary> /// Subscribes the tracker to a metric object. /// </summary> /// <param name="provider">The metric to track.</param> public void Subscribe(IMetric provider) { _metric = provider; _unsubscriber = provider.Subscribe(this); }