static void ExecuteInternal(ModuleVM vm, bool newTab) { if (vm == null) { return; } if (GoToModuleModulesCtxMenuCommand.ShowErrorIfDynamic(vm.Module)) { GoToModuleModulesCtxMenuCommand.GoToFile(InMemoryModuleManager.Instance.LoadFile(vm.Module, true), newTab); } }
static void ExecuteInternal(IFileTabManager fileTabManager, Lazy <IInMemoryModuleManager> inMemoryModuleManager, ModuleVM vm, bool newTab) { if (vm == null) { return; } if (GoToModuleModulesCtxMenuCommand.ShowErrorIfDynamic(inMemoryModuleManager, vm.Module)) { GoToModuleModulesCtxMenuCommand.GoToFile(fileTabManager, inMemoryModuleManager.Value.LoadFile(vm.Module, true), newTab); } }
static void ExecuteInternal(IDocumentTabService documentTabService, Lazy <IInMemoryModuleService> inMemoryModuleService, ModuleVM vm, bool newTab) { if (vm == null) { return; } if (GoToModuleModulesCtxMenuCommand.ShowErrorIfDynamic(inMemoryModuleService, vm.Module)) { GoToModuleModulesCtxMenuCommand.GoToFile(documentTabService, inMemoryModuleService.Value.LoadDocument(vm.Module, true), newTab); } }