protected void SetDictionaryConfigurationSource(DictionaryConfigurationSource configurationSource) { ConfigurationSourceSectionNode configurationSourceSection = new ConfigurationSourceSectionNode(); DictionarySourceElementNode configurationSourceNode = new DictionarySourceElementNode(configurationSource); ApplicationNode.AddNode(configurationSourceSection); configurationSourceSection.AddNode(configurationSourceNode); configurationSourceSection.SelectedSource = configurationSourceNode; }