11 references to ContractBasedImportDefinition
System.ComponentModel.Composition (11)
System\ComponentModel\Composition\AttributedModel\AttributedModelDiscovery.cs (2)
84
new
ContractBasedImportDefinition
(
121
new
ContractBasedImportDefinition
(
System\ComponentModel\Composition\Hosting\CatalogExportProvider.ScopeManager.cs (1)
99
result = new
ContractBasedImportDefinition
(
System\ComponentModel\Composition\Hosting\ExportProvider.GetExportOverrides.cs (1)
809
return new
ContractBasedImportDefinition
(contractName, requiredTypeIdentity, requiredMetadata, cardinality, false, true, CreationPolicy.Any, metadata);
System\ComponentModel\Composition\Primitives\ContractBasedImportDefinition.cs (1)
103
:
this
(contractName, requiredTypeIdentity, requiredMetadata, cardinality, isRecomposable, isPrerequisite, requiredCreationPolicy, MetadataServices.EmptyMetadata)
System\ComponentModel\Composition\Primitives\PrimitivesServices.cs (1)
86
return new
ContractBasedImportDefinition
(
System\ComponentModel\Composition\ReflectionModel\GenericSpecializationPartCreationInfo.cs (2)
307
new
ContractBasedImportDefinition
(
350
new
ContractBasedImportDefinition
(
System\ComponentModel\Composition\ReflectionModel\ReflectionImportDefinition.cs (1)
23
:
base
(contractName, requiredTypeIdentity, requiredMetadata, cardinality, isRecomposable, isPrerequisite, requiredCreationPolicy, metadata)
System\ComponentModel\Composition\ReflectionModel\ReflectionModelServices.cs (2)
221
new
ContractBasedImportDefinition
(
278
new
ContractBasedImportDefinition
(