public void ShowWindow(Program program) { if (dvi == null) { dvi = new DisassemblyViewInteractor(); } base.ShowWindow(ViewWindowType, "Disassembly", program, dvi); }
public void ShowWindow() { if (dvi == null) { dvi = new DisassemblyViewInteractor(); } base.ShowWindow(ViewWindowType, "Disassembly", dvi); }
public void Setup() { repository = new MockRepository(); interactor = repository.Stub<DisassemblyViewInteractor>(); sc = new ServiceContainer(); uiSvc = repository.DynamicMock<IDecompilerShellUiService>(); dcSvc = repository.Stub<IDecompilerService>(); dlgFactory = repository.DynamicMock<IDialogFactory>(); sc.AddService<IDecompilerShellUiService>(uiSvc); sc.AddService<IDecompilerService>(dcSvc); sc.AddService<IDialogFactory>(dlgFactory); }