12 references to AttributedModelDiscovery
System.ComponentModel.Composition (12)
System\ComponentModel\Composition\AttributedModel\AttributedModelDiscovery.cs (4)
41ReflectionComposablePartDefinition definition = AttributedModelDiscovery.CreatePartDefinition(attributedPart.GetType(), PartCreationPolicyAttribute.Shared, true, (ICompositionElement?)null); 58ReflectionComposablePartDefinition definition = AttributedModelDiscovery.CreatePartDefinition(mappedType, PartCreationPolicyAttribute.Shared, true, (ICompositionElement?)null); 76IAttributedImport attributedImport = AttributedModelDiscovery.GetAttributedImport(reflectionParameter, parameter); 113IAttributedImport attributedImport = AttributedModelDiscovery.GetAttributedImport(reflectionMember, member);
System\ComponentModel\Composition\AttributedModel\AttributedPartCreationInfo.cs (2)
423ReflectionMemberImportDefinition importDefinition = AttributedModelDiscovery.CreateMemberImportDefinition(member, this); 433ReflectionParameterImportDefinition importDefinition = AttributedModelDiscovery.CreateParameterImportDefinition(parameter, this);
System\ComponentModel\Composition\AttributedModelServices.cs (5)
30return AttributedModelDiscovery.CreatePart(attributedPart); 38return AttributedModelDiscovery.CreatePart(attributedPart, reflectionContext); 52return AttributedModelDiscovery.CreatePart(reflectionComposablePartDefinition, attributedPart); 67return AttributedModelDiscovery.CreatePartDefinitionIfDiscoverable(type, origin)!; 71return AttributedModelDiscovery.CreatePartDefinition(type, null, false, origin);
System\ComponentModel\Composition\Hosting\TypeCatalog.cs (1)
269var definition = AttributedModelDiscovery.CreatePartDefinitionIfDiscoverable(type, _definitionOrigin);