Пример #1
0
        public Command(Guid group, int[] ids) {
            _commandIds = new CommandId[ids.Length];
            for (int i = 0; i < ids.Length; i++) {
                _commandIds[i] = new CommandId(group, ids[i]);
            }

            _needCheckout = false;
        }
Пример #2
0
 public Command(CommandId id)
     : this(id, false) {
 }
Пример #3
0
 public Command(CommandId[] ids, bool needCheckout) {
     _commandIds = ids;
     _needCheckout = needCheckout;
 }
Пример #4
0
 public EditingCommand(ITextView textView, CommandId[] ids)
     : base(textView, ids, true) {
 }
Пример #5
0
 public Command(CommandId id, bool needCheckout)
     : this(new CommandId[1] { id }, needCheckout) {
 }
Пример #6
0
 public DisabledCommand(ITextView textView, CommandId[] ids)
     : base(textView, ids, true) {
 }
Пример #7
0
 public EditingCommand(ITextView textView, CommandId id)
     : base(textView, id, true) {
 }
Пример #8
0
 public ViewCommand(ITextView textView, CommandId[] ids, bool needCheckout)
     : base(ids, needCheckout) {
     TextView = textView;
 }
Пример #9
0
 public RExecuteCommand(ITextView textView, IRInteractiveWorkflow interactiveWorkflow, CommandId id) : base(textView, id, false) {
     InteractiveWorkflow = interactiveWorkflow;
 }
Пример #10
0
 public EditingCommand(ITextView textView, IEditorShell editorShell, CommandId id)
     : base(textView, id, true) {
     EditorShell = editorShell;
 }
Пример #11
0
 public ViewAndBufferCommand(ITextView textView, CommandId[] ids, bool needCheckout)
     : base(textView, ids, needCheckout) {
 }
Пример #12
0
 public EditingCommand(ITextView textView, CommandId id)
     : base(textView, id, true)
 {
 }