/// <summary> /// Initializes a new instance of the <see cref="PerformanceCountersCollector"/> class. /// </summary> /// <param name="performanceCounterWrapper"> /// The performance Counter Wrapper. /// </param> public PerformanceCountersCollector(IPerformanceCounterCategoryWrapper performanceCounterWrapper) { this.performanceCounterWrapper = performanceCounterWrapper; }
/// <summary> /// Initializes a new instance of the <see cref="PerformanceCountersCollector"/> class. /// </summary> public PerformanceCountersCollector() { this.performanceCounterWrapper = new PerformanceCounterCategoryWrapper(); }