System.Diagnostics.DiagnosticsConfigurationHandler.HandleCounters C# (CSharp) Method

HandleCounters() private static method

private static HandleCounters ( Hashtable parent, Hashtable config, XmlNode countersNode, object context ) : void
parent System.Collections.Hashtable
config System.Collections.Hashtable
countersNode System.Xml.XmlNode
context object
return void
        private static void HandleCounters(Hashtable parent, Hashtable config, XmlNode countersNode, object context) {            
            int filemappingsize = 0;
            if (HandlerBase.GetAndRemoveIntegerAttribute(countersNode, "filemappingsize", ref filemappingsize) != null) {
                //Should only be handled at machine config level
                if (parent == null)
                    config["filemappingsize"] = filemappingsize;
            }                

            HandlerBase.CheckForChildNodes(countersNode);
        }