3 overrides of ImportDefinitions
System.ComponentModel.Composition (3)
System\ComponentModel\Composition\Hosting\CatalogExportProvider.FactoryExport.cs (1)
104public override IEnumerable<ImportDefinition> ImportDefinitions
System\ComponentModel\Composition\Hosting\CompositionBatch.SingleExportComposablePart.cs (1)
35public override IEnumerable<ImportDefinition> ImportDefinitions
System\ComponentModel\Composition\ReflectionModel\ReflectionComposablePart.cs (1)
131public sealed override IEnumerable<ImportDefinition> ImportDefinitions
8 references to ImportDefinitions
System.ComponentModel.Composition (8)
System\ComponentModel\Composition\Hosting\CompositionServices.cs (1)
558return part.ImportDefinitions.Any(import => import.IsRecomposable);
System\ComponentModel\Composition\Hosting\ImportEngine.cs (3)
307var requiredImports = part.ImportDefinitions.Where(IsRequiredImportForPreview); 344var prereqImports = part.ImportDefinitions.Where(import => import.IsPrerequisite); 355var requiredImports = part.ImportDefinitions.Where(import => !import.IsPrerequisite);
System\ComponentModel\Composition\Hosting\ImportEngine.PartManager.cs (1)
68return _importedContractNames ??= Part.ImportDefinitions.Select(import => import.ContractName ?? ImportDefinition.EmptyContractName).Distinct().ToArray();
System\ComponentModel\Composition\Hosting\ImportEngine.RecompositionManager.cs (1)
52return part.ImportDefinitions.Where(import => IsAffectedImport(import, changedExports));
System\ComponentModel\Composition\Primitives\ComposablePart.cs (2)
164/// <see cref="ImportDefinitions"/> property describing the import to be set. 178/// <paramref name="definition"/> did not originate from the <see cref="ImportDefinitions"/>