4 instantiations of ReflectionComposablePartDefinition
System.ComponentModel.Composition (4)
System\ComponentModel\Composition\AttributedModel\AttributedModelDiscovery.cs (2)
24
return new
ReflectionComposablePartDefinition
(creationInfo);
33
return new
ReflectionComposablePartDefinition
(creationInfo);
System\ComponentModel\Composition\ReflectionModel\ReflectionComposablePartDefinition.cs (1)
306
genericPartDefinition = new
ReflectionComposablePartDefinition
(new GenericSpecializationPartCreationInfo(_creationInfo, this, genericTypeParameters));
System\ComponentModel\Composition\ReflectionModel\ReflectionModelServices.cs (1)
136
return new
ReflectionComposablePartDefinition
(
22 references to ReflectionComposablePartDefinition
System.ComponentModel.Composition (22)
System\ComponentModel\Composition\AttributedModel\AttributedModelDiscovery.cs (4)
27
public static
ReflectionComposablePartDefinition
CreatePartDefinition(Type type, PartCreationPolicyAttribute? partCreationPolicy, bool ignoreConstructorImports, ICompositionElement? origin)
41
ReflectionComposablePartDefinition
definition = AttributedModelDiscovery.CreatePartDefinition(attributedPart.GetType(), PartCreationPolicyAttribute.Shared, true, (ICompositionElement?)null);
58
ReflectionComposablePartDefinition
definition = AttributedModelDiscovery.CreatePartDefinition(mappedType, PartCreationPolicyAttribute.Shared, true, (ICompositionElement?)null);
68
return new ReflectionComposablePart((
ReflectionComposablePartDefinition
)partDefinition, attributedPart);
System\ComponentModel\Composition\AttributedModelServices.cs (2)
46
var
reflectionComposablePartDefinition = partDefinition as
ReflectionComposablePartDefinition
;
System\ComponentModel\Composition\Hosting\TypeCatalog.cs (1)
375
foreach (
ReflectionComposablePartDefinition
definition in PartsInternal.Take(displayCount))
System\ComponentModel\Composition\ReflectionModel\DisposableReflectionComposablePart.cs (1)
12
public DisposableReflectionComposablePart(
ReflectionComposablePartDefinition
definition)
System\ComponentModel\Composition\ReflectionModel\GenericSpecializationPartCreationInfo.cs (3)
19
private readonly
ReflectionComposablePartDefinition
_originalPart;
32
public GenericSpecializationPartCreationInfo(IReflectionPartCreationInfo originalPartCreationInfo,
ReflectionComposablePartDefinition
originalPart, Type[] specialization)
52
public
ReflectionComposablePartDefinition
OriginalPart
System\ComponentModel\Composition\ReflectionModel\ReflectionComposablePart.cs (4)
18
private readonly
ReflectionComposablePartDefinition
_definition;
27
public ReflectionComposablePart(
ReflectionComposablePartDefinition
definition)
34
public ReflectionComposablePart(
ReflectionComposablePartDefinition
definition, object attributedPart)
113
public
ReflectionComposablePartDefinition
Definition
System\ComponentModel\Composition\ReflectionModel\ReflectionComposablePartDefinition.cs (1)
333
return obj is
ReflectionComposablePartDefinition
that && _creationInfo.Equals(that._creationInfo);
System\ComponentModel\Composition\ReflectionModel\ReflectionModelServices.cs (6)
21
ReflectionComposablePartDefinition
? reflectionPartDefinition = partDefinition as
ReflectionComposablePartDefinition
;
34
ReflectionComposablePartDefinition
? reflectionPartDefinition = partDefinition as
ReflectionComposablePartDefinition
;
307
ReflectionComposablePartDefinition
? reflectionPartDefinition = partDefinition as
ReflectionComposablePartDefinition
;