示例#1
0
        // if we need to reset to the "factory" default
        public static void ResetClass()
        {
            Info = Admin.Info;
            Data = Info.Data;

            logMsgLn2();
            logMsgLn2("at AppSettings reset", "status| " + Admin.Status);
        }
示例#2
0
        // initialize and create the setting objects
        static AppSettings()
        {
            Admin = new SettingsMgr <AppSettingInfo22>(ResetClass);
            Info  = Admin.Info;
            Data  = Info.Data;

            logMsgLn2();
            logMsgLn2("at ctor AppSettings", "status| " + Admin.Status
                      + "  CanAutoUpgrade?| " + Admin.CanAutoUpgrade
                      );
            logMsgLn2();
        }