예제 #1
0
 protected CodeEditorCommandTargetMenuItemBase(StandardIds cmdId)
     : base(cmdId)
 {
 }
예제 #2
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)
 {
 }
예제 #3
0
 protected ReplEditorCtxMenuCommandTargetCommand(StandardIds cmdId)
     : base(CommandConstants.StandardGroup, (int)cmdId)
 {
 }
예제 #4
0
 protected HexViewCommandTargetMenuItemBase(StandardIds cmdId)
     : base(CommandConstants.StandardGroup, (int)cmdId)
 {
 }
예제 #5
0
 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) {
		}