mirror of https://github.com/icsharpcode/ILSpy.git
9 changed files with 106 additions and 42 deletions
@ -1,18 +0,0 @@ |
|||||||
#if DEBUG
|
|
||||||
|
|
||||||
using ICSharpCode.ILSpy.Docking; |
|
||||||
using ICSharpCode.ILSpy.Properties; |
|
||||||
using ICSharpCode.ILSpy.ViewModels; |
|
||||||
|
|
||||||
namespace ICSharpCode.ILSpy.Commands |
|
||||||
{ |
|
||||||
[ExportMainMenuCommand(Menu = nameof(Resources._View), Header = nameof(Resources._ShowDebugSteps), MenuOrder = 5000)] |
|
||||||
class ShowDebugSteps : SimpleCommand |
|
||||||
{ |
|
||||||
public override void Execute(object parameter) |
|
||||||
{ |
|
||||||
DockWorkspace.Instance.ShowToolPane(DebugStepsPaneModel.PaneContentId); |
|
||||||
} |
|
||||||
} |
|
||||||
} |
|
||||||
#endif
|
|
@ -0,0 +1,35 @@ |
|||||||
|
using ICSharpCode.ILSpy.Docking; |
||||||
|
using ICSharpCode.ILSpy.Properties; |
||||||
|
using ICSharpCode.ILSpy.ViewModels; |
||||||
|
|
||||||
|
namespace ICSharpCode.ILSpy.Commands |
||||||
|
{ |
||||||
|
[ExportMainMenuCommand(Menu = nameof(Resources._Window), Header = nameof(Resources._Assemblies), MenuCategory = "pane", MenuOrder = 5000)] |
||||||
|
class ShowAssemblies : SimpleCommand |
||||||
|
{ |
||||||
|
public override void Execute(object parameter) |
||||||
|
{ |
||||||
|
DockWorkspace.Instance.ShowToolPane(AssemblyListPaneModel.PaneContentId); |
||||||
|
} |
||||||
|
} |
||||||
|
|
||||||
|
[ExportMainMenuCommand(Menu = nameof(Resources._Window), Header = nameof(Resources._Analyzer), MenuCategory = "pane", MenuOrder = 5000)] |
||||||
|
class ShowAnalyzer : SimpleCommand |
||||||
|
{ |
||||||
|
public override void Execute(object parameter) |
||||||
|
{ |
||||||
|
DockWorkspace.Instance.ShowToolPane(AnalyzerPaneModel.PaneContentId); |
||||||
|
} |
||||||
|
} |
||||||
|
|
||||||
|
#if DEBUG
|
||||||
|
[ExportMainMenuCommand(Menu = nameof(Resources._Window), Header = nameof(Resources._ShowDebugSteps), MenuCategory = "pane", MenuOrder = 5000)] |
||||||
|
class ShowDebugSteps : SimpleCommand |
||||||
|
{ |
||||||
|
public override void Execute(object parameter) |
||||||
|
{ |
||||||
|
DockWorkspace.Instance.ShowToolPane(DebugStepsPaneModel.PaneContentId); |
||||||
|
} |
||||||
|
} |
||||||
|
#endif
|
||||||
|
} |
Loading…
Reference in new issue