15 instantiations of Import
Microsoft.CodeAnalysis.CSharp.Features (2)
ExternalAccess\Pythia\PythiaDeclarationNameRecommender.cs (1)
22internal sealed class PythiaDeclarationNameRecommender([Import(AllowDefault = true)] Lazy<IPythiaDeclarationNameRecommenderImplementation>? implementation) : IDeclarationNameRecommender
MoveToNamespace\CSharpMoveToNamespaceService.cs (1)
17[Import(AllowDefault = true)] IMoveToNamespaceOptionsService optionsService) :
Microsoft.CodeAnalysis.Features (11)
Diagnostics\Service\DiagnosticAnalyzerService.cs (1)
29[Import(AllowDefault = true)] IAsynchronousOperationListenerProvider? listenerProvider) : IWorkspaceServiceFactory
EditAndContinue\EditAndContinueService.cs (2)
34[Import(AllowDefault = true)] IEditAndContinueSessionTracker? sessionTracker = null) : IEditAndContinueWorkspaceService 64[Import(AllowDefault = true)] IEditAndContinueLogReporter? logReporter)
ExternalAccess\VSTypeScript\VSTypeScriptClassificationService.cs (1)
24[Import(AllowDefault = true)] IVSTypeScriptClassificationService? classificationService) : IClassificationService
ExternalAccess\VSTypeScript\VSTypeScriptFormattingService.cs (1)
20internal sealed class VSTypeScriptFormattingService([Import(AllowDefault = true)] IVSTypeScriptFormattingServiceImplementation impl) : IFormattingService
ExternalAccess\VSTypeScript\VSTypeScriptNavigateToSearchService.cs (1)
26[Import(AllowDefault = true)] IVSTypeScriptNavigateToSearchService? searchService) : INavigateToSearchService
ExternalAccess\VSTypeScript\VSTypeScriptTaskListService.cs (1)
20internal sealed class VSTypeScriptTaskListService([Import(AllowDefault = true)] IVSTypeScriptTaskListServiceImplementation impl) : ITaskListService
PdbSourceDocument\PdbFileLocatorService.cs (1)
22[Import(AllowDefault = true)] IPdbSourceDocumentLogger? logger) : IPdbFileLocatorService
PdbSourceDocument\PdbSourceDocumentLoaderService.cs (1)
25[Import(AllowDefault = true)] IPdbSourceDocumentLogger? logger) : IPdbSourceDocumentLoaderService
PdbSourceDocument\PdbSourceDocumentMetadataAsSourceFileProvider.cs (1)
39[Import(AllowDefault = true)] IPdbSourceDocumentLogger? logger) : IMetadataAsSourceFileProvider
SemanticSearch\SemanticSearchDocumentSupportsFeatureService.cs (1)
16[Import(AllowDefault = true)] Lazy<ISemanticSearchSolutionService>? solutionService) : IDocumentSupportsFeatureService
Microsoft.CodeAnalysis.Workspaces (1)
TemporaryStorage\TemporaryStorageService.Factory.cs (1)
19[Import(AllowDefault = true)] IWorkspaceThreadingService? workspaceThreadingService) : IWorkspaceServiceFactory
System.Composition.Convention (1)
System\Composition\Convention\ImportConventionBuilder.cs (1)
138importAttribute = 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)
588bool isConfigured = pi.GetCustomAttributes<ImportAttribute>(false).FirstOrDefault() != null || pi.GetCustomAttributes<ImportManyAttribute>(false).FirstOrDefault() != null; 688isConfigured = 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;