Appccelerate.Bootstrapper.Specification.Dummies.CustomExtensionWithConfigurationWhichKnowsNameAndWhereToLoadFrom.GetSection C# (CSharp) Method

GetSection() public method

public GetSection ( string sectionName ) : ConfigurationSection
sectionName string
return System.Configuration.ConfigurationSection
        public ConfigurationSection GetSection(string sectionName)
        {
            this.SectionAcquired = sectionName;

            return sectionName == this.SectionName ? new FakeConfigurationSection("KnowsName|KnowsLoading") : null;
        }
    }
CustomExtensionWithConfigurationWhichKnowsNameAndWhereToLoadFrom