public DisplayBindingService(IPropertyService propertyService, IMessageLoop mainThread,
            Func<ErrorDocumentDisplayBinding> errorDocDisplayBindingFactory)
        {
            main_thread = mainThread;
            error_doc_display_binding_factory = errorDocDisplayBindingFactory;

            descriptors = AddInTree.BuildItems<DisplayBindingDescriptor>(DisplayBindingPath, null, true);
            display_binding_properties = propertyService.NestedProperties("DisplayBindingService");
        }
		public TestExecutionManager()
		{
			this.buildService = SD.BuildService;
			this.taskService = new UnitTestTaskService();
			this.saveAllFilesCommand = new UnitTestSaveAllFilesCommand();
			this.testService = SD.GetRequiredService<ITestService>();
			this.workbench = SD.Workbench;
			this.statusBarService = SD.StatusBar;
			this.mainThread = SD.MainThread;
			this.buildOptions = new UnitTestBuildOptions();
		}
 public ThreadSafeCodeGenerator(CodeGenerator codeGenerator)
 {
     this.codeGenerator = codeGenerator;
     this.mainThread = SD.MainThread;
 }