System.Configuration.RuntimeConfigurationRecord.CreateSection C# (CSharp) Метод

CreateSection() защищенный Метод

protected CreateSection ( bool inputIsTrusted, FactoryRecord factoryRecord, SectionRecord sectionRecord, object parentConfig, ConfigXmlReader reader ) : object
inputIsTrusted bool
factoryRecord FactoryRecord
sectionRecord SectionRecord
parentConfig object
reader ConfigXmlReader
Результат object
        override protected object CreateSection(bool inputIsTrusted, FactoryRecord factoryRecord, SectionRecord sectionRecord, object parentConfig, ConfigXmlReader reader) {
            // Get the factory used to create a section.
            RuntimeConfigurationFactory factory = (RuntimeConfigurationFactory) factoryRecord.Factory;

            // Use the factory to create a section.
            object config = factory.CreateSection(inputIsTrusted, this, factoryRecord, sectionRecord, parentConfig, reader);

            return config;
        }