Example #1
0
		public override bool IsVisible(AsmEditorContext context) {
			return true;
		}
Example #2
0
			public override void Execute(AsmEditorContext context) {
				DeleteFieldDefCommand.Execute(undoCommandManager, context.Nodes);
			}
Example #3
0
			public override bool IsVisible(AsmEditorContext context) => EditMethodBodyILCommand.CanExecute(context.Nodes);
Example #4
0
			public override bool IsVisible(AsmEditorContext context) {
				return CreateAssemblyLinkedResourceCommand.CanExecute(context.Nodes);
			}
Example #5
0
			public override void Execute(AsmEditorContext context) {
				FieldDefSettingsCommand.Execute(undoCommandManager, appWindow, context.Nodes);
			}
Example #6
0
			public override void Execute(AsmEditorContext context) {
				DeleteResourceElementCommand.Execute(undoCommandManager, context.Nodes);
			}
Example #7
0
			public override void Execute(AsmEditorContext context) {
				CreateMultiFileResourceCommand.Execute(undoCommandManager, appWindow, resourceNodeFactory, context.Nodes);
			}
Example #8
0
			public override bool IsVisible(AsmEditorContext context) => DeleteEventDefCommand.CanExecute(context.Nodes);
Example #9
0
			public override void Execute(AsmEditorContext context) => DeleteEventDefCommand.Execute(undoCommandService, context.Nodes);
Example #10
0
			public override bool IsVisible(AsmEditorContext context) => EventDefSettingsCommand.CanExecute(context.Nodes);
Example #11
0
			public override void Execute(AsmEditorContext context) => EventDefSettingsCommand.Execute(undoCommandService, appService, context.Nodes);
Example #12
0
		public override string GetHeader(AsmEditorContext context) {
			return GetDocuments(context.Nodes).Count <= 1 ? dnSpy_AsmEditor_Resources.SaveModuleCommand : dnSpy_AsmEditor_Resources.SaveModulesCommand;
		}
Example #13
0
		public override void Execute(AsmEditorContext context) {
			var asmNodes = GetDocuments(context.Nodes);
			documentSaver.Value.Save(asmNodes);
		}
Example #14
0
		public override bool IsEnabled(AsmEditorContext context) {
			return GetDocuments(context.Nodes).Count > 0;
		}
Example #15
0
			public override void Execute(AsmEditorContext context) {
				SerializedImageListStreamerResourceElementSettingsCommand.Execute(undoCommandManager, appWindow, context.Nodes);
			}
Example #16
0
			public override string GetHeader(AsmEditorContext context) => DeleteEventDefCommand.GetHeader(context.Nodes);
Example #17
0
			public override bool IsVisible(AsmEditorContext context) {
				return DeleteResourceElementCommand.CanExecute(context.Nodes);
			}
Example #18
0
			public override bool IsVisible(AsmEditorContext context) {
				return CreateByteArrayResourceElementCommand.CanExecute(context.Nodes);
			}
Example #19
0
			public override bool IsVisible(AsmEditorContext context) {
				return CreateMultiFileResourceCommand.CanExecute(context.Nodes);
			}
Example #20
0
			public override void Execute(AsmEditorContext context) {
				CreateStreamResourceElementCommand.Execute(undoCommandManager, appWindow, resourceNodeFactory, context.Nodes);
			}
Example #21
0
			public override string GetHeader(AsmEditorContext context) {
				return DeleteResourceCommand.GetHeader(context.Nodes);
			}
Example #22
0
			public override void Execute(AsmEditorContext context) {
				CreateResourceElementCommand.Execute(undoCommandManager, appWindow, resourceNodeFactory, fileTreeViewSettings, context.Nodes);
			}
Example #23
0
			public override bool IsVisible(AsmEditorContext context) {
				return FieldDefSettingsCommand.CanExecute(context.Nodes);
			}
Example #24
0
			public override bool IsVisible(AsmEditorContext context) {
				return ImageResourceElementSettingsCommand.CanExecute(context.Nodes);
			}
Example #25
0
			public override bool IsVisible(AsmEditorContext context) {
				return DeleteFieldDefCommand.CanExecute(context.Nodes);
			}
Example #26
0
			public override void Execute(AsmEditorContext context) {
				ImageResourceElementSettingsCommand.Execute(undoCommandManager, appWindow, context.Nodes);
			}
Example #27
0
			public override string GetHeader(AsmEditorContext context) {
				return DeleteFieldDefCommand.GetHeader(context.Nodes);
			}
Example #28
0
			public override bool IsVisible(AsmEditorContext context) {
				return SerializedImageListStreamerResourceElementSettingsCommand.CanExecute(context.Nodes);
			}
Example #29
0
			public override void Execute(AsmEditorContext context) => EditMethodBodyILCommand.Execute(methodAnnotations, undoCommandService, appService, context.Nodes);
Example #30
0
			public override void Execute(AsmEditorContext context) {
				MethodBodySettingsCommand.Execute(methodAnnotations, undoCommandManager, appWindow, context.Nodes);
			}