public override bool IsVisible(AsmEditorContext context) { return true; }
public override void Execute(AsmEditorContext context) { DeleteFieldDefCommand.Execute(undoCommandManager, context.Nodes); }
public override bool IsVisible(AsmEditorContext context) => EditMethodBodyILCommand.CanExecute(context.Nodes);
public override bool IsVisible(AsmEditorContext context) { return CreateAssemblyLinkedResourceCommand.CanExecute(context.Nodes); }
public override void Execute(AsmEditorContext context) { FieldDefSettingsCommand.Execute(undoCommandManager, appWindow, context.Nodes); }
public override void Execute(AsmEditorContext context) { DeleteResourceElementCommand.Execute(undoCommandManager, context.Nodes); }
public override void Execute(AsmEditorContext context) { CreateMultiFileResourceCommand.Execute(undoCommandManager, appWindow, resourceNodeFactory, context.Nodes); }
public override bool IsVisible(AsmEditorContext context) => DeleteEventDefCommand.CanExecute(context.Nodes);
public override void Execute(AsmEditorContext context) => DeleteEventDefCommand.Execute(undoCommandService, context.Nodes);
public override bool IsVisible(AsmEditorContext context) => EventDefSettingsCommand.CanExecute(context.Nodes);
public override void Execute(AsmEditorContext context) => EventDefSettingsCommand.Execute(undoCommandService, appService, context.Nodes);
public override string GetHeader(AsmEditorContext context) { return GetDocuments(context.Nodes).Count <= 1 ? dnSpy_AsmEditor_Resources.SaveModuleCommand : dnSpy_AsmEditor_Resources.SaveModulesCommand; }
public override void Execute(AsmEditorContext context) { var asmNodes = GetDocuments(context.Nodes); documentSaver.Value.Save(asmNodes); }
public override bool IsEnabled(AsmEditorContext context) { return GetDocuments(context.Nodes).Count > 0; }
public override void Execute(AsmEditorContext context) { SerializedImageListStreamerResourceElementSettingsCommand.Execute(undoCommandManager, appWindow, context.Nodes); }
public override string GetHeader(AsmEditorContext context) => DeleteEventDefCommand.GetHeader(context.Nodes);
public override bool IsVisible(AsmEditorContext context) { return DeleteResourceElementCommand.CanExecute(context.Nodes); }
public override bool IsVisible(AsmEditorContext context) { return CreateByteArrayResourceElementCommand.CanExecute(context.Nodes); }
public override bool IsVisible(AsmEditorContext context) { return CreateMultiFileResourceCommand.CanExecute(context.Nodes); }
public override void Execute(AsmEditorContext context) { CreateStreamResourceElementCommand.Execute(undoCommandManager, appWindow, resourceNodeFactory, context.Nodes); }
public override string GetHeader(AsmEditorContext context) { return DeleteResourceCommand.GetHeader(context.Nodes); }
public override void Execute(AsmEditorContext context) { CreateResourceElementCommand.Execute(undoCommandManager, appWindow, resourceNodeFactory, fileTreeViewSettings, context.Nodes); }
public override bool IsVisible(AsmEditorContext context) { return FieldDefSettingsCommand.CanExecute(context.Nodes); }
public override bool IsVisible(AsmEditorContext context) { return ImageResourceElementSettingsCommand.CanExecute(context.Nodes); }
public override bool IsVisible(AsmEditorContext context) { return DeleteFieldDefCommand.CanExecute(context.Nodes); }
public override void Execute(AsmEditorContext context) { ImageResourceElementSettingsCommand.Execute(undoCommandManager, appWindow, context.Nodes); }
public override string GetHeader(AsmEditorContext context) { return DeleteFieldDefCommand.GetHeader(context.Nodes); }
public override bool IsVisible(AsmEditorContext context) { return SerializedImageListStreamerResourceElementSettingsCommand.CanExecute(context.Nodes); }
public override void Execute(AsmEditorContext context) => EditMethodBodyILCommand.Execute(methodAnnotations, undoCommandService, appService, context.Nodes);
public override void Execute(AsmEditorContext context) { MethodBodySettingsCommand.Execute(methodAnnotations, undoCommandManager, appWindow, context.Nodes); }