Source/NFX/Environment/ConfigNode.cs
/// <summary>
/// Adds a new child section node to this node
/// </summary>
Adds a new child section node to this node
Adds a new child section node to this node
public ConfigSectionNode AddChildNode(string name, string value)
        {
          checkCanModify();
          lock (m_Children)
          {
            ConfigSectionNode node = new ConfigSectionNode(m_Configuration, this, name, value);
            m_Children.Add(node);
            m_Modified = true;
            return node;
          }
        }
public ConfigSectionNode AddChildNode ( string name , string value ) { checkCanModify ( ) ; lock ( m_Children ) { ConfigSectionNode node = new ConfigSectionNode ( m_Configuration , this , name , value ) ; m_Children . Add ( node ) ; m_Modified = true ; return node ; } }
Adds a new child section node to this node
Adds a new child section node to this node
name
string
value
string