示例#1
0
 internal InteractiveWindowTestHost(
     IInteractiveWindowFactoryService interactiveWindowFactory
     )
 {
     Evaluator = new TestInteractiveEvaluator();
     Window    = interactiveWindowFactory.CreateWindow(Evaluator);
     Window.InitializeAsync().Wait();
 }
 public TestRInteractiveWindowComponentContainerFactory(IInteractiveWindowFactoryService interactiveWindowFactory, IContentTypeRegistryService contentTypeRegistryService, ICoreShell shell)
 {
     _contentTypeRegistryService = contentTypeRegistryService;
     _shell = shell;
     InteractiveWindowFactory = interactiveWindowFactory;
 }
示例#3
0
 public TestRInteractiveWindowComponentContainerFactory(IInteractiveWindowFactoryService interactiveWindowFactory, IContentTypeRegistryService contentTypeRegistryService)
 {
     InteractiveWindowFactory = interactiveWindowFactory;
     _contentType             = contentTypeRegistryService.GetContentType(RHistoryContentTypeDefinition.ContentType);
 }
示例#4
0
 public TestRInteractiveWindowComponentContainerFactory(IInteractiveWindowFactoryService interactiveWindowFactory, IContentTypeRegistryService contentTypeRegistryService)
 {
     _contentTypeRegistryService = contentTypeRegistryService;
     InteractiveWindowFactory    = interactiveWindowFactory;
 }