Esempio n. 1
0
        protected void Application_Start(object sender, EventArgs e)
        {
            MvcConfig.Init();
            //todo init by config
            var configGroup = ConfigGroupRegistry.Instance.Default();

            configGroup.AddOrReplace("Debug", "true", ConfigEntryType.Bool, "调试状态");
            configGroup.AddOrReplace("DebugLevel", "1", ConfigEntryType.Int, "调试级别");
        }
 protected void Application_Start()
 {
     MvcConfig.Init();
 }