protected FunctionIndexBasedTest(AssemblyMefCatalogFixture catalog) { _exportProvider = catalog.CreateExportProvider(); _editorShell = _exportProvider.GetExportedValue <IEditorShell>(); _packageIndex = _exportProvider.GetExportedValue <IPackageIndex>(); _functionIndex = _exportProvider.GetExportedValue <IFunctionIndex>(); }
protected FunctionIndexBasedTest(AssemblyMefCatalogFixture catalog) { ExportProvider = catalog.CreateExportProvider(); Workflow = UIThreadHelper.Instance.Invoke(() => ExportProvider.GetExportedValue <IRInteractiveWorkflowProvider>().GetOrCreate()); EditorShell = ExportProvider.GetExportedValue <IEditorShell>(); PackageIndex = ExportProvider.GetExportedValue <IPackageIndex>(); FunctionIndex = ExportProvider.GetExportedValue <IFunctionIndex>(); }