protected PerformanceCounters(IPerformanceCountersCategoryInfo category) { _category = category; _log = TpLogManager.Instance.PerformanceCounterLog(); _counters = _category.CreationData.ToDictionary(c => c.CounterName, c => GetPerformanceCounter(_category.CategoryName, c.CounterName, false)); }
protected PerformanceCounters(IPerformanceCountersCategoryInfo category) { _category = category; _counters = _category.CreationData.ToDictionary(c => c.CounterName, c => GetPerformanceCounter(_category.CategoryName, c.CounterName, false)); }