Inheritance: ICommandFactory
        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);
     }
 }
 public override void BuildCommandSet()
 {
     if (VsAppShell.Current.CompositionService != null)
     {
         var factory  = new ReplCommandFactory();
         var commands = factory.GetCommands(TextView, TextBuffer);
         AddCommandSet(commands);
     }
 }