public AEScriptGenerator(ScriptApplyFactory scriptApplyFactory, AESettingViewModel setting, IMessageBoxService messageBoxService, SimpleAutoMapper autoMapper) { this.scriptApplyFactory = scriptApplyFactory; this.setting = setting; this.messageBoxService = messageBoxService; this.autoMapper = autoMapper; }
public AEScriptGenerator(ScriptApplyFactory scriptApplyFactory, AESettingViewModel setting, IMessageBoxService messageBoxService, SimpleAutoMapper autoMapper, IEmulatorToScriptFactory emulatorToScriptFactory, IActionToScriptFactory actionToScriptFactory, DataIO dataIO, IPredefinedActionProvider actionProvider) { this.scriptApplyFactory = scriptApplyFactory; this.setting = setting; this.messageBoxService = messageBoxService; this.autoMapper = autoMapper; this.emulatorToScriptFactory = emulatorToScriptFactory; this.actionToScriptFactory = actionToScriptFactory; this.dataIO = dataIO; this.actionProvider = actionProvider; }
public AEMGViewModel(IMacroManager macroManager, AEActionListViewModel AEActionList, AESettingViewModel Settings, AEScriptGenerator scriptGenerator, IMessageBoxService messageBoxService, IAutoUpdater AutoUpdater) { this.MacroManager = macroManager; this.AEActionListViewModel = AEActionList; this.Settings = Settings; this.scriptGenerator = scriptGenerator; this.messageBoxService = messageBoxService; this.AutoUpdater = AutoUpdater; this.MacroManager.ScanForMacroes(); InitializeCommandAndEvents(); if (Settings.IsAutoUpdateEnable == true) { this.AutoUpdater.CheckForUpdate(); } }