2 references to CreatePartDefinitionIfDiscoverable
System.ComponentModel.Composition (2)
System\ComponentModel\Composition\AttributedModelServices.cs (1)
67
return AttributedModelDiscovery.
CreatePartDefinitionIfDiscoverable
(type, origin)!;
System\ComponentModel\Composition\Hosting\TypeCatalog.cs (1)
269
var definition = AttributedModelDiscovery.
CreatePartDefinitionIfDiscoverable
(type, _definitionOrigin);