System.Configuration.ClientConfigurationSystem.IInternalConfigSystem C# (CSharp) Метод

IInternalConfigSystem() приватный Метод

private IInternalConfigSystem ( string sectionName ) : object
sectionName string
Результат object
        object IInternalConfigSystem.GetSection(string sectionName) {
            PrepareClientConfigSystem(sectionName);

            // Get the appropriate config record for the section.
            IInternalConfigRecord configRecord = null;
            if (DoesSectionOnlyUseMachineConfig(sectionName)) {
                if (_isMachineConfigInited) {
                    configRecord = _machineConfigRecord;
                }
            }
            else {
                if (_isUserConfigInited) {
                    configRecord = _completeConfigRecord;
                }
            }

            // Call GetSection(), or return null if no configuration is yet available.
            if (configRecord != null) {
                return configRecord.GetSection(sectionName);
            }
            else {
                return null;
            }
        }

Same methods

ClientConfigurationSystem::IInternalConfigSystem ( string sectionName ) : void