Пример #1
0
        public JishHost(VSConsole jsConsole, IJishInterpreter jish)
        {
            this.jsConsole = jsConsole;
              this.jish = jish;
              solutionManager = ((IComponentModel) Package.GetGlobalService(typeof (SComponentModel))).GetService<ISolutionManager>();

              IsCommandEnabled = true;
        }
Пример #2
0
        public JishHost(VSConsole jsConsole, IJishInterpreter jish)
        {
            this.jsConsole  = jsConsole;
            this.jish       = jish;
            solutionManager = ((IComponentModel)Package.GetGlobalService(typeof(SComponentModel))).GetService <ISolutionManager>();

            IsCommandEnabled = true;
        }
Пример #3
0
        public IHost CreateHost()
        {
            VSConsole console = new VSConsole();

            return(new JishHost(console, DefaultJishInterpreterFactory.CreateInterpreter(console)));
        }
Пример #4
0
 public IHost CreateHost()
 {
     VSConsole console = new VSConsole();
       return new JishHost(console, DefaultJishInterpreterFactory.CreateInterpreter(console));
 }