3 overrides of ImportDefinitions
System.ComponentModel.Composition (3)
System\ComponentModel\Composition\Hosting\CatalogExportProvider.FactoryExport.cs (1)
104
public override IEnumerable<ImportDefinition>
ImportDefinitions
System\ComponentModel\Composition\Hosting\CompositionBatch.SingleExportComposablePart.cs (1)
35
public override IEnumerable<ImportDefinition>
ImportDefinitions
System\ComponentModel\Composition\ReflectionModel\ReflectionComposablePart.cs (1)
131
public sealed override IEnumerable<ImportDefinition>
ImportDefinitions
8 references to ImportDefinitions
System.ComponentModel.Composition (8)
System\ComponentModel\Composition\Hosting\CompositionServices.cs (1)
558
return part.
ImportDefinitions
.Any(import => import.IsRecomposable);
System\ComponentModel\Composition\Hosting\ImportEngine.cs (3)
307
var requiredImports = part.
ImportDefinitions
.Where(IsRequiredImportForPreview);
344
var prereqImports = part.
ImportDefinitions
.Where(import => import.IsPrerequisite);
355
var requiredImports = part.
ImportDefinitions
.Where(import => !import.IsPrerequisite);
System\ComponentModel\Composition\Hosting\ImportEngine.PartManager.cs (1)
68
return _importedContractNames ??= Part.
ImportDefinitions
.Select(import => import.ContractName ?? ImportDefinition.EmptyContractName).Distinct().ToArray();
System\ComponentModel\Composition\Hosting\ImportEngine.RecompositionManager.cs (1)
52
return 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
"/>