GetCommands() public method

public GetCommands ( ITextView textView, ITextBuffer textBuffer ) : IEnumerable
textView ITextView
textBuffer ITextBuffer
return IEnumerable
コード例 #1
0
        public override void BuildCommandSet()
        {
            var factory  = new ReplCommandFactory(Services);
            var commands = factory.GetCommands(TextView, TextBuffer);

            AddCommandSet(commands);
        }
コード例 #2
0
 public override void BuildCommandSet() {
     if (VsAppShell.Current.CompositionService != null) {
         var factory = new ReplCommandFactory();
         var commands = factory.GetCommands(TextView, TextBuffer);
         AddCommandSet(commands);
     }
 }
コード例 #3
0
 public override void BuildCommandSet()
 {
     if (VsAppShell.Current.CompositionService != null)
     {
         var factory  = new ReplCommandFactory();
         var commands = factory.GetCommands(TextView, TextBuffer);
         AddCommandSet(commands);
     }
 }