5 implementations of GetExports
Microsoft.CodeAnalysis.LanguageServerIndexFormat.Generator (1)
VisualStudioMefHostServices.cs (1)
44public IEnumerable<Lazy<TExtension, TMetadata>> GetExports<TExtension, TMetadata>()
Microsoft.CodeAnalysis.Remote.Workspaces (1)
VisualStudioMefHostServices.cs (1)
44public IEnumerable<Lazy<TExtension, TMetadata>> GetExports<TExtension, TMetadata>()
Microsoft.CodeAnalysis.Workspaces (1)
Workspace\Host\Mef\MefHostServices.cs (1)
66IEnumerable<Lazy<TExtension, TMetadata>> IMefHostExportProvider.GetExports<TExtension, TMetadata>()
Microsoft.CodeAnalysis.Workspaces.Desktop (1)
Workspace\Host\Mef\MefV1HostServices.cs (1)
81public IEnumerable<Lazy<TExtension, TMetadata>> GetExports<TExtension, TMetadata>()
Microsoft.CodeAnalysis.Workspaces.Test.Utilities (1)
MEF\UseExportProviderAttribute.cs (1)
224IEnumerable<Lazy<TExtension, TMetadata>> IMefHostExportProvider.GetExports<TExtension, TMetadata>()
12 references to GetExports
AnalyzerRunner (1)
IncrementalAnalyzerRunner.cs (1)
65var incrementalAnalyzerProviders = exportProvider.GetExports<IIncrementalAnalyzerProvider, IncrementalAnalyzerProviderMetadata>();
Microsoft.CodeAnalysis.EditorFeatures (1)
Shared\Extensions\HostWorkspaceServicesExtensions.cs (1)
77var exports = mefHostServices.GetExports<ILanguageService, ContentTypeLanguageMetadata>();
Microsoft.CodeAnalysis.Features (3)
Completion\CompletionService.ProviderManager.cs (1)
73mefExporter.GetExports<CompletionProvider, CompletionProviderMetadata>()
QuickInfo\QuickInfoServiceWithProviders.cs (1)
38.Order(mefExporter.GetExports<QuickInfoProvider, QuickInfoProviderMetadata>()
Structure\BlockStructureServiceWithProviders.cs (1)
40var providers = mefExporter.GetExports<BlockStructureProvider, LanguageMetadata>()
Microsoft.CodeAnalysis.Workspaces (6)
MefLanguageServices.cs (2)
37var services = hostServices.GetExports<ILanguageService, LanguageServiceMetadata>(); 38var factories = hostServices.GetExports<ILanguageServiceFactory, LanguageServiceMetadata>()
MefWorkspaceServices.cs (4)
41var services = host.GetExports<IWorkspaceService, WorkspaceServiceMetadata>(); 42var factories = host.GetExports<IWorkspaceServiceFactory, WorkspaceServiceMetadata>() 152var list = _exportProvider.GetExports<ILanguageService, LanguageServiceMetadata>().Select(lz => lz.Metadata.Language).Concat( 153_exportProvider.GetExports<ILanguageServiceFactory, LanguageServiceMetadata>().Select(lz => lz.Metadata.Language))
Microsoft.CodeAnalysis.Workspaces.UnitTests (1)
Remote\ServiceDescriptorTests.cs (1)
387var callbackDispatchers = ((IMefHostExportProvider)hostServices).GetExports<IRemoteServiceCallbackDispatcher, RemoteServiceCallbackDispatcherRegistry.ExportMetadata>();