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(); }
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(); }