16 instantiations of Import
Microsoft.Cci.Extensions (1)
Differs\Rules\TokenListDiffer.cs (1)
18[Import(AllowDefault = true)]
Microsoft.CodeAnalysis.ExternalAccess.Apex (1)
ApexAsynchronousOperationListenerProviderAccessor.cs (1)
25[Import(AllowDefault = true)] VisualStudioWorkspace? workspace)
Microsoft.CodeAnalysis.ExternalAccess.Copilot (1)
Internal\Analyzer\CSharp\CSharpCopilotCodeAnalysisService.cs (1)
30[Import] IExternalCSharpCopilotCodeAnalysisService externalCopilotService,
Microsoft.CodeAnalysis.ExternalAccess.FSharp (5)
Internal\Editor\FSharpEditorInlineRenameService.cs (2)
197[Import(AllowDefault = true)] IFSharpEditorInlineRenameService? legacyService, 198[Import(AllowDefault = true)] FSharpInlineRenameServiceImplementation? service)
Internal\InlineHints\FSharpInlineHintsService.cs (1)
25[Import(AllowDefault = true)] IFSharpInlineHintsService? service)
Internal\Navigation\FSharpCrossLanguageSymbolNavigationService.cs (1)
28[Import(AllowDefault = true)] IFSharpCrossLanguageSymbolNavigationService underlyingService)
TaskList\FSharpTaskListService.cs (1)
24public FSharpTaskListService([Import(AllowDefault = true)] IFSharpTaskListService impl)
Microsoft.CodeAnalysis.ExternalAccess.Xaml (2)
Internal\OnInitializedServiceFactory.cs (2)
26[Import(AllowDefault = true)] IInitializationService? initializationService, 27[Import(AllowDefault = true)] IOnInitializedService? onInitializedService)
Microsoft.CodeAnalysis.Features (1)
EditAndContinue\EditAndContinueService.cs (1)
64[Import(AllowDefault = true)] IEditAndContinueLogReporter? logReporter)
Microsoft.VisualStudio.LanguageServices (4)
Packaging\PackageInstallerServiceFactory.cs (3)
106[Import(AllowDefault = true)] Lazy<IVsPackageInstaller2>? packageInstaller, 107[Import(AllowDefault = true)] Lazy<IVsPackageUninstaller>? packageUninstaller, 108[Import(AllowDefault = true)] Lazy<IVsPackageSourceProvider>? packageSourceProvider)
PdbSourceDocument\SourceLinkService.cs (1)
28[Import(AllowDefault = true)] IPdbSourceDocumentLogger? logger)
System.Composition.Convention (1)
System\Composition\Convention\ImportConventionBuilder.cs (1)
153importAttribute = new ImportAttribute(contractName)
10 references to Import
System.Composition.AttributedModel (2)
System\Composition\ImportAttribute.cs (2)
16/// Initializes a new instance of the <see cref="ImportAttribute"/> class, importing the 24/// Initializes a new instance of the <see cref="ImportAttribute"/> class, importing the
System.Composition.Convention (2)
System\Composition\Convention\PartConventionBuilder.cs (2)
657bool isConfigured = pi.GetCustomAttributes<ImportAttribute>(false).FirstOrDefault() != null || pi.GetCustomAttributes<ImportManyAttribute>(false).FirstOrDefault() != null; 757isConfigured = pi.GetCustomAttributes<ImportAttribute>(false).FirstOrDefault() != null || pi.GetCustomAttributes<ImportManyAttribute>(false).FirstOrDefault() != null;
System.Composition.TypedParts (6)
System\Composition\CompositionContextExtensions.cs (2)
23/// Set public properties decorated with the <see cref="ImportAttribute"/>. 34/// Set public properties decorated with the <see cref="ImportAttribute"/>.
System\Composition\TypedParts\ActivationFeatures\PropertyInjectionFeature.cs (1)
34where attrs.Any(a => a is ImportAttribute || a is ImportManyAttribute)
System\Composition\TypedParts\ContractHelpers.cs (3)
19if (attributes.Any(a => a is ImportAttribute || a is ImportManyAttribute)) 38var ia = attr as ImportAttribute;