コード例 #1
0
 public VsImmediateWindowProvider(
     SVsServiceProvider serviceProvider,
     IVsInteractiveWindowFactory interactiveWindowFactory,
     IViewClassifierAggregatorService classifierAggregator,
     IContentTypeRegistryService contentTypeRegistry,
     VisualStudioWorkspace workspace)
 {
     _vsInteractiveWindowFactory = interactiveWindowFactory;
     _vsDebugger = (IVsDebugger)serviceProvider.GetService(typeof(IVsDebugger));
 }
コード例 #2
0
 public VsImmediateWindowProvider(
     SVsServiceProvider serviceProvider,
     IVsInteractiveWindowFactory interactiveWindowFactory,
     IViewClassifierAggregatorService classifierAggregator,
     IContentTypeRegistryService contentTypeRegistry,
     VisualStudioWorkspace workspace)
 {
     _vsInteractiveWindowFactory = interactiveWindowFactory;
     _vsDebugger = (IVsDebugger)serviceProvider.GetService(typeof(IVsDebugger));
 }
コード例 #3
0
        public InteractiveWindowProvider(
            [Import(typeof(SVsServiceProvider))] IServiceProvider serviceProvider,
            [Import] IVsInteractiveWindowFactory2 factory,
            [Import] IContentTypeRegistryService contentTypeService)
        {
            this.serviceProvider = serviceProvider;
            this.windowFactory   = factory;

            this.contentType = contentTypeService.GetContentType(ReplConstants.ContentType);
        }
コード例 #4
0
        public InteractiveWindowProvider(
            [Import(typeof(SVsServiceProvider))] IServiceProvider serviceProvider,
            [Import] IVsInteractiveWindowFactory2 factory,
            [Import] IContentTypeRegistryService contentTypeService)
        {
            this.serviceProvider = serviceProvider;
            this.windowFactory   = factory;

            this.typeScriptContentType      = contentTypeService.GetContentType(NodejsConstants.TypeScript);
            this.nodeInteractiveContentType = contentTypeService.GetContentType(InteractiveWindowContentType.ContentType);
        }
コード例 #5
0
 public CSharpVsInteractiveWindowProvider(
     SVsServiceProvider serviceProvider,
     IVsInteractiveWindowFactory interactiveWindowFactory,
     IViewClassifierAggregatorService classifierAggregator,
     IContentTypeRegistryService contentTypeRegistry,
     IInteractiveWindowCommandsFactory commandsFactory,
     [ImportMany] IInteractiveWindowCommand[] commands,
     VisualStudioWorkspace workspace)
     : base(serviceProvider, interactiveWindowFactory, classifierAggregator, contentTypeRegistry, commandsFactory, commands, workspace)
 {
 }
コード例 #6
0
 public InteractiveWindowProvider(
     [Import(typeof(SVsServiceProvider))] IServiceProvider serviceProvider,
     [Import] IVsInteractiveWindowFactory factory,
     [ImportMany] IInteractiveEvaluatorProvider[] evaluators,
     [Import] IContentTypeRegistryService contentTypeService
 ) {
     _serviceProvider = serviceProvider;
     _evaluators = evaluators;
     _windowFactory = factory;
     _pythonContentType = contentTypeService.GetContentType(PythonCoreConstants.ContentType);
 }
コード例 #7
0
 public CSharpVsInteractiveWindowProvider(
     SVsServiceProvider serviceProvider,
     IVsInteractiveWindowFactory interactiveWindowFactory,
     IViewClassifierAggregatorService classifierAggregator,
     IContentTypeRegistryService contentTypeRegistry,
     IInteractiveWindowCommandsFactory commandsFactory,
     [ImportMany]IInteractiveWindowCommand[] commands,
     VisualStudioWorkspace workspace)
     : base(serviceProvider, interactiveWindowFactory, classifierAggregator, contentTypeRegistry, commandsFactory, commands, workspace)
 {
 }
コード例 #8
0
 public InteractiveWindowProvider(
     [Import(typeof(SVsServiceProvider))] IServiceProvider serviceProvider,
     [Import] IVsInteractiveWindowFactory factory,
     [ImportMany] IInteractiveEvaluatorProvider[] evaluators,
     [Import] IContentTypeRegistryService contentTypeService
     )
 {
     _serviceProvider   = serviceProvider;
     _evaluators        = evaluators;
     _windowFactory     = factory;
     _pythonContentType = contentTypeService.GetContentType(PythonCoreConstants.ContentType);
 }
コード例 #9
0
 public InteractiveWindowProvider(
     [Import(typeof(SVsServiceProvider))] IServiceProvider serviceProvider,
     [Import] IVsInteractiveWindowFactory factory,
     [ImportMany] IInteractiveEvaluatorProvider[] evaluators,
     [Import] IContentTypeRegistryService contentTypeService
     )
 {
     _serviceProvider    = serviceProvider;
     _evaluators         = evaluators;
     _contentTypeService = contentTypeService;
     _windowFactory      = factory;
 }
コード例 #10
0
 public CSharpVsInteractiveWindowProvider(
     IThreadingContext threadingContext,
     SVsServiceProvider serviceProvider,
     IAsynchronousOperationListenerProvider listenerProvider,
     IVsInteractiveWindowFactory interactiveWindowFactory,
     IViewClassifierAggregatorService classifierAggregator,
     IContentTypeRegistryService contentTypeRegistry,
     IInteractiveWindowCommandsFactory commandsFactory,
     [ImportMany] IInteractiveWindowCommand[] commands,
     VisualStudioWorkspace workspace)
     : base(serviceProvider, interactiveWindowFactory, classifierAggregator, contentTypeRegistry, commandsFactory, commands, workspace)
 {
     _threadingContext = threadingContext;
     _listener         = listenerProvider.GetListener(FeatureAttribute.InteractiveEvaluator);
 }
コード例 #11
0
 public VsInteractiveWindowProvider(
     SVsServiceProvider serviceProvider,
     IVsInteractiveWindowFactory interactiveWindowFactory,
     IViewClassifierAggregatorService classifierAggregator,
     IContentTypeRegistryService contentTypeRegistry,
     IInteractiveWindowCommandsFactory commandsFactory,
     IInteractiveWindowCommand[] commands,
     VisualStudioWorkspace workspace)
 {
     _vsServiceProvider          = serviceProvider;
     _classifierAggregator       = classifierAggregator;
     _contentTypeRegistry        = contentTypeRegistry;
     _vsWorkspace                = workspace;
     _commands                   = FilterCommands(commands, contentType: PredefinedInteractiveCommandsContentTypes.InteractiveCommandContentTypeName);
     _vsInteractiveWindowFactory = interactiveWindowFactory;
     _commandsFactory            = commandsFactory;
 }
コード例 #12
0
 public VsInteractiveWindowProvider(
    SVsServiceProvider serviceProvider,
    IVsInteractiveWindowFactory interactiveWindowFactory,
    IViewClassifierAggregatorService classifierAggregator,
    IContentTypeRegistryService contentTypeRegistry,
    IInteractiveWindowCommandsFactory commandsFactory,
    IInteractiveWindowCommand[] commands,
    VisualStudioWorkspace workspace)
 {
     _vsServiceProvider = serviceProvider;
     _classifierAggregator = classifierAggregator;
     _contentTypeRegistry = contentTypeRegistry;
     _vsWorkspace = workspace;
     _commands = FilterCommands(commands, contentType: PredefinedInteractiveCommandsContentTypes.InteractiveCommandContentTypeName);
     _vsInteractiveWindowFactory = interactiveWindowFactory;
     _commandsFactory = commandsFactory;
 }
コード例 #13
0
 public InteractiveWindowProvider([Import]IVsInteractiveWindowFactory factory, [ImportMany]IInteractiveEvaluatorProvider[] evaluators) {
     _evaluators = evaluators;
     _windowFactory = factory;
 }
コード例 #14
0
 public InteractiveWindowProvider([Import] IVsInteractiveWindowFactory factory, [ImportMany] IInteractiveEvaluatorProvider[] evaluators)
 {
     _evaluators    = evaluators;
     _windowFactory = factory;
 }