// ReSharper disable once ParameterTypeCanBeEnumerable.Local public WarewolfPerformanceCounterManager(IList <IPerformanceCounter> counters, IList <IResourcePerformanceCounter> resourceCounters, IWarewolfPerformanceCounterRegister register, IPerformanceCounterPersistence perf) { _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()) { }