コード例 #1
0
 protected CodeEditorCommandTargetMenuItemBase(StandardIds cmdId)
     : base(cmdId)
 {
 }
コード例 #2
0
ファイル: CommandTargetCommand.cs プロジェクト: zz110/dnSpy
 /// <summary>
 /// Constructor
 /// </summary>
 /// <param name="commandTarget">Command target</param>
 /// <param name="cmdId">Command ID</param>
 public CommandTargetCommand(ICommandTarget commandTarget, StandardIds cmdId)
     : this(commandTarget, CommandConstants.StandardGroup, (int)cmdId)
 {
 }
コード例 #3
0
ファイル: Commands.cs プロジェクト: haise0/dnSurgeon
 protected ReplEditorCtxMenuCommandTargetCommand(StandardIds cmdId)
     : base(CommandConstants.StandardGroup, (int)cmdId)
 {
 }
コード例 #4
0
 protected HexViewCommandTargetMenuItemBase(StandardIds cmdId)
     : base(CommandConstants.StandardGroup, (int)cmdId)
 {
 }
コード例 #5
0
ファイル: Commands.cs プロジェクト: azureidea/dnSpy-1
 protected DocumentViewerCommandTargetMenuItemBase(StandardIds cmdId)
     : base(cmdId)
 {
 }
コード例 #6
0
 /// <summary>
 /// Constructor
 /// </summary>
 /// <param name="cmdId">Command id</param>
 protected CommandTargetMenuItemBase(StandardIds cmdId)
     : this(CommandConstants.StandardGroup, (int)cmdId)
 {
 }
コード例 #7
0
 /// <summary>
 /// Converts <paramref name="id"/> to a <see cref="CommandInfo"/>
 /// </summary>
 /// <param name="id">ID</param>
 /// <param name="arguments">Arguments or null</param>
 /// <returns></returns>
 public static CommandInfo ToCommandInfo(this StandardIds id, object arguments) => new CommandInfo(CommandConstants.StandardGroup, (int)id, arguments);
コード例 #8
0
 /// <summary>
 /// Converts <paramref name="id"/> to a <see cref="CommandInfo"/>
 /// </summary>
 /// <param name="id">ID</param>
 /// <returns></returns>
 public static CommandInfo ToCommandInfo(this StandardIds id) => new CommandInfo(CommandConstants.StandardGroup, (int)id);
コード例 #9
0
ファイル: Commands.cs プロジェクト: pashav15/pashav
 protected PasteHexViewCommandTargetMenuItemBase(StandardIds cmdId)
     : base(cmdId)
 {
 }
コード例 #10
0
		/// <summary>
		/// Constructor
		/// </summary>
		/// <param name="commandTarget">Command target</param>
		/// <param name="cmdId">Command ID</param>
		public CommandTargetCommand(ICommandTarget commandTarget, StandardIds cmdId)
			: this(commandTarget, CommandConstants.StandardGroup, (int)cmdId) {
		}