Allows the app control over script compaction settings
Inheritance: System.Configuration.ConfigurationSection
コード例 #1
0
        public static ScriptCompactionSection GetSettings(string sectionPath)
        {
            ScriptCompactionSection config = null;

            try
            {
                config = (ScriptCompactionSection)ConfigurationManager.GetSection(sectionPath);
            }
            catch {}

            return(config ?? new ScriptCompactionSection());
        }
コード例 #2
0
 public static ScriptCompactionSection GetSettings()
 {
     return(ScriptCompactionSection.GetSettings(DefaultSectionPath));
 }