Пример #1
0
 /// <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);
 }