public void CreateCounters() { var countersToCreate = new CounterCreationDataCollection(); GetPeople.RegisterCountersForCreation(countersToCreate); CreatePerson.RegisterCountersForCreation(countersToCreate); PersonRepositoryError.RegisterCountersForCreation(countersToCreate); PerformanceCounterCategory.Create( CategoryName, CategoryName, PerformanceCounterCategoryType.SingleInstance, countersToCreate); }