1 override of RequiredCreationPolicy
System.ComponentModel.Composition (1)
System\ComponentModel\Composition\Hosting\ImportSourceImportDefinitionHelpers.cs (1)
108
public override CreationPolicy
RequiredCreationPolicy
13 references to RequiredCreationPolicy
System.ComponentModel.Composition (13)
System\ComponentModel\Composition\Hosting\CatalogExportProvider.ScopeManager.cs (1)
92
switch (productImportDefinition.
RequiredCreationPolicy
)
System\ComponentModel\Composition\Hosting\CompositionServices.cs (1)
597
return contractDefinition.
RequiredCreationPolicy
;
System\ComponentModel\Composition\Hosting\ImportSourceImportDefinitionHelpers.cs (1)
110
get { return _sourceDefinition.
RequiredCreationPolicy
; }
System\ComponentModel\Composition\Primitives\ContractBasedImportDefinition.cs (6)
39
/// and <see cref="
RequiredCreationPolicy
"/> properties.
268
/// <see cref="RequiredMetadata"/>, and <see cref="
RequiredCreationPolicy
"/>
273
_constraint ??= ConstraintServices.CreateConstraint(ContractName, RequiredTypeIdentity, RequiredMetadata,
RequiredCreationPolicy
);
350
if (
RequiredCreationPolicy
== CreationPolicy.Any)
357
exportPolicy ==
RequiredCreationPolicy
;
368
sb.Append("\n\tRequiredCreationPolicy\t").Append(
RequiredCreationPolicy
);
System\ComponentModel\Composition\Primitives\PrimitivesServices.cs (1)
93
contractBasedImport.
RequiredCreationPolicy
,
System\ComponentModel\Composition\ReflectionModel\GenericSpecializationPartCreationInfo.cs (2)
327
productImport.
RequiredCreationPolicy
,
368
productImport.
RequiredCreationPolicy
,
System\ComponentModel\Composition\ReflectionModel\PartCreatorMemberImportDefinition.cs (1)
20
productImportDefinition.RequiredMetadata, productImportDefinition.Cardinality, productImportDefinition.IsRecomposable, false, productImportDefinition.
RequiredCreationPolicy
, MetadataServices.EmptyMetadata, origin)