6 references to GetAttributes
System.ComponentModel.Composition (6)
Microsoft\Internal\AttributeServices.cs (1)
23
return
GetAttributes
<T>(attributeProvider).FirstOrDefault();
System\ComponentModel\Composition\AttributedModel\AttributedModelDiscovery.cs (1)
134
bool isPrerequisite = member.
GetAttributes
<ExportAttribute>().Length > 0;
System\ComponentModel\Composition\AttributedModel\AttributedPartCreationInfo.cs (2)
265
foreach (ExportAttribute exportAttribute in member.
GetAttributes
<ExportAttribute>())
294
foreach (InheritedExportAttribute exportAttribute in type.
GetAttributes
<InheritedExportAttribute>())
System\ComponentModel\Composition\Hosting\CompositionServices.cs (2)
194
foreach (PartMetadataAttribute partMetadata in type.
GetAttributes
<PartMetadataAttribute>())
261
foreach (var attr in member.
GetAttributes
<Attribute>())