public WarewolfPerformanceCounterManager(IList <IPerformanceCounter> counters, IList <IResourcePerformanceCounter> resourceCounters, IWarewolfPerformanceCounterRegister register, IPerformanceCounterPersistence perf, IRealPerformanceCounterFactory performanceCounterFactory) { _counterFactory = performanceCounterFactory; _counters = counters; _perf = perf; _resourceCounters = resourceCounters.Cast <IPerformanceCounter>().ToList(); EmptyCounter = new EmptyCounter(); }
public WarewolfPerformanceCounterManager(IList <IPerformanceCounter> counters, IList <IResourcePerformanceCounter> resourceCounters, IWarewolfPerformanceCounterRegister register, IPerformanceCounterPersistence perf) : this(counters, resourceCounters, register, perf, new PerformanceCounterFactory()) { }