1 write to _attributeContext
System.Composition.TypedParts (1)
System\Composition\TypedParts\Discovery\TypeInspector.cs (1)
23
_attributeContext
= attributeContext;
6 references to _attributeContext
System.Composition.TypedParts (6)
System\Composition\TypedParts\Discovery\TypeInspector.cs (6)
31
if (type.IsAbstract || !type.IsClass ||
_attributeContext
.GetDeclaredAttribute<PartNotDiscoverableAttribute>(type.AsType(), type) != null)
36
part ??= new DiscoveredPart(type,
_attributeContext
, _activationFeatures);
55
foreach (var export in
_attributeContext
.GetDeclaredAttributes<ExportAttribute>(partTypeAsType, partType))
60
var applied =
_attributeContext
.GetDeclaredAttributes(partTypeAsType, partType);
81
foreach (var export in
_attributeContext
.GetDeclaredAttributes<ExportAttribute>(partTypeAsType, property))
86
var applied =
_attributeContext
.GetDeclaredAttributes(partTypeAsType, property);