Exemple #1
0
 /// <summary>
 /// [Internal Constructor] Initializes a new instance of the ConfigurationNode class.
 /// </summary>
 /// <param name="configObj">Setting to link to the node.</param>
 /// <param name="parent">Parent node of the node.</param>
 public ConfigurationNode(ConfigBase configObj, ConfigurationNode parent)
 {
     _configObj  = configObj;
     _parent     = parent;
     _childNodes = new List <ConfigurationNode>();
 }
Exemple #2
0
 /// <summary>
 /// Initializes a new instance of the ConfigurationTree class.
 /// </summary>
 public ConfigurationTree()
 {
     _root = new ConfigurationNode();
 }
 /// <summary>
 /// [Internal Constructor] Initializes a new instance of the ConfigurationNode class.
 /// </summary>
 /// <param name="configObj">Setting to link to the node.</param>
 /// <param name="parent">Parent node of the node.</param>
 public ConfigurationNode(ConfigBase configObj, ConfigurationNode parent)
 {
   _configObj = configObj;
   _parent = parent;
   _childNodes = new List<ConfigurationNode>();
 }
 /// <summary>
 /// Initializes a new instance of the ConfigurationTree class.
 /// </summary>
 public ConfigurationTree()
 {
   _root = new ConfigurationNode();
 }