Ejemplo n.º 1
0
        public void Run(
            VgcApis.Models.IServices.ISettingsService vgcSetting)
        {
            this.vgcSetting = vgcSetting;
            this.luaAcm     = new Libs.LuaSnippet.LuaAcm();

            userSettings = VgcApis.Libs.Utils
                           .LoadPluginSetting <Models.Data.UserSettings>(
                pluginName, vgcSetting);

            userSettings.NormalizeData();
        }
Ejemplo n.º 2
0
        public void Run(
            VgcApis.Models.IServices.ISettingsService vgcSetting)
        {
            this.vgcSetting = vgcSetting;
            this.luaAcm     = new Libs.LuaSnippet.LuaAcm();

            userSettings = VgcApis.Libs.Utils
                           .LoadPluginSetting <Models.Data.UserSettings>(
                pluginName, vgcSetting);

            userSettings.NormalizeData();

            bookKeeper = new VgcApis.Libs.Tasks.LazyGuy(
                SaveUserSettingsNow, 30000);

            bookKeeper.DoItLater();
        }