Esempio n. 1
0
        public static Config GetActiveConfig()
        {
            SPCoderConfig spCoderConfig    = (SPCoderConfig)GetConfig(null, typeof(SPCoderConfig));
            string        activeConfigName = spCoderConfig.GetItemValueByName(SPCoderConstants.ACTIVE_CONFIG);
            Config        activeConfig     = spCoderConfig.GetConfigByName(activeConfigName);

            return(activeConfig);
        }
Esempio n. 2
0
        public static SPCoderConfig GetRootConfig()
        {
            SPCoderConfig spCoderConfig = (SPCoderConfig)GetConfig(null, typeof(SPCoderConfig));

            return(spCoderConfig);
        }