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