private void FillCounterDescriptors(NetMultiInstanceCategory category, List <CounterDescriptorAggregatedInfo> result)
        {
            category.MarkCountersChangedAsViewed();

            foreach (var counter in category.Counters)
            {
                result.Add(new CounterDescriptorAggregatedInfo(counter.Value.Name, counter.Value.Description, counter.Value.Type));
            }
        }
        private void FillInstanceInfo(NetMultiInstanceCategory category, CategoryAggregatedInfo categoryInfo, List <InstanceAggregatedInfo> result)
        {
            category.MarkChildInstancesChangedAsViewed();

            foreach (var instance in category.Instances.Cast <NetInstanceInMultiInstanceCategory>())
            {
                var info = CreateInstanceAggregatedInfo(instance, categoryInfo);
                FillCountersInfo(instance, info.Counters);
                result.Add(info);
            }
        }