Source/NFX/Environment/Configuration.cs
/// <summary>
/// Creates new configuration from ordered merge result of two other nodes - base and override which can be from different configurations
/// </summary>
/// <param name="baseNode">A base node that data is defaulted from</param>
/// <param name="overrideNode">A node that contains overrides/additions of/to data from base node</param>
/// <param name="rules">Rules to use or default rules will be used in null is passed</param>
Creates new configuration from ordered merge result of two other nodes - base and override which can be from different configurations
Creates new configuration from ordered merge result of two other nodes - base and override which can be from different configurations
public void CreateFromMerge(ConfigSectionNode baseNode, ConfigSectionNode overrideNode, NodeOverrideRules rules = null)
        {
          m_Root = new ConfigSectionNode(this, null, baseNode);
          m_Root.OverrideBy(overrideNode, rules);
        }
public void CreateFromMerge ( ConfigSectionNode baseNode , ConfigSectionNode overrideNode , NodeOverrideRules rules = null ) { m_Root = new ConfigSectionNode ( this , null , baseNode ) ; m_Root . OverrideBy ( overrideNode , rules ) ; }
Creates new configuration from ordered merge result of two other nodes - base and override which can be from different configurations
Creates new configuration from ordered merge result of two other nodes - base and override which can be from different configurations
baseNode
ConfigSectionNode
A base node that data is defaulted from
A base node that data is defaulted from
overrideNode
ConfigSectionNode
A node that contains overrides/additions of/to data from base node
A node that contains overrides / additions of / to data from base node
rules
NodeOverrideRules
Rules to use or default rules will be used in null is passed
Rules to use or default rules will be used in null is passed