19 instantiations of Import
Microsoft.CodeAnalysis.EditorFeatures.Test.Utilities (2)
StubVsServiceExporter`1.cs (1)
24[Import(typeof(SAsyncServiceProvider))] IAsyncServiceProvider2 asyncServiceProvider,
StubVsServiceExporter`2.cs (1)
34[Import(typeof(SAsyncServiceProvider))] IAsyncServiceProvider2 asyncServiceProvider,
Microsoft.CodeAnalysis.EditorFeatures.Wpf (3)
InlineRename\UI\InlineRenameAdornmentProvider.cs (3)
60[Import(AllowDefault = true)] IInlineRenameColorUpdater? dashboardColorUpdater, 61[Import(AllowDefault = true)] IWpfThemeService? themeingService, 67[Import(ISmartRenameSessionFactoryWrapper.WrappedTypeName, AllowDefault = true)] Lazy<object>? smartRenameSessionFactory)
Microsoft.CodeAnalysis.ExternalAccess.FSharp (2)
Internal\Editor\FSharpSmartIndentProvider.cs (2)
41[Import(AllowDefault = true)] IFSharpSynchronousIndentationService? legacyService, 42[Import(AllowDefault = true)] IFSharpIndentationService? service,
Microsoft.CodeAnalysis.Workspaces.Test.Utilities (1)
TestExportJoinableTaskContext.cs (1)
29[Import(AllowDefault = true)] IDispatcherTaskJoiner? dispatcherTaskJoiner = null)
Microsoft.VisualStudio.LanguageServices (7)
EditAndContinue\EditAndContinueFeedbackDiagnosticFileProvider.cs (1)
53[Import(AllowDefault = true)] Lazy<EditAndContinueLanguageService>? encService = null)
Options\VisualStudioOptionPersisterProvider.cs (1)
40[Import(typeof(SAsyncServiceProvider))] IAsyncServiceProvider serviceProvider,
ProjectSystem\FileChangeWatcherProvider.cs (1)
26[Import(typeof(SVsServiceProvider))] Shell.IAsyncServiceProvider serviceProvider)
ProjectSystem\OpenTextBufferProvider.cs (1)
57[Import(typeof(SVsServiceProvider))] IServiceProvider serviceProvider,
ProjectSystem\RuleSets\RuleSetEventHandler.cs (1)
34[Import(typeof(SVsServiceProvider))] IServiceProvider serviceProvider)
TaskList\ExternalErrorDiagnosticUpdateSource.cs (1)
70[Import(typeof(SVsFullAccessServiceBroker))] IServiceBroker serviceBroker,
Workspace\VisualStudioActiveDocumentTracker.cs (1)
51[Import(typeof(SVsServiceProvider))] IAsyncServiceProvider asyncServiceProvider,
Microsoft.VisualStudio.LanguageServices.Xaml (2)
Implementation\XamlProjectService.cs (1)
46[Import(typeof(Shell.SVsServiceProvider))] IServiceProvider serviceProvider,
Implementation\XamlTextViewCreationListener.cs (1)
35[Import(typeof(SVsServiceProvider))] IServiceProvider serviceProvider,
System.ComponentModel.Composition (1)
System\ComponentModel\Composition\AttributedModel\AttributedModelDiscovery.cs (1)
156return new ImportAttribute();
System.ComponentModel.Composition.Registration (1)
System\ComponentModel\Composition\Registration\ImportBuilder.cs (1)
79importAttribute = new ImportAttribute(_contractName, _contractType)
5 references to Import
System.ComponentModel.Composition (3)
System\ComponentModel\Composition\ImportAttribute.cs (3)
17/// Initializes a new instance of the <see cref="ImportAttribute"/> class, importing the 37/// Initializes a new instance of the <see cref="ImportAttribute"/> class, importing the 66/// Initializes a new instance of the <see cref="ImportAttribute"/> class, importing the
System.ComponentModel.Composition.Registration (2)
System\ComponentModel\Composition\Registration\PartBuilder.cs (2)
424bool isConfigured = pi.GetCustomAttributes(typeof(ImportAttribute), false).FirstOrDefault() != null || pi.GetCustomAttributes(typeof(ImportManyAttribute), false).FirstOrDefault() != null; 472isConfigured = pi.GetCustomAttributes(typeof(ImportAttribute), false).FirstOrDefault() != null || pi.GetCustomAttributes(typeof(ImportManyAttribute), false).FirstOrDefault() != null;