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)
31if (type.IsAbstract || !type.IsClass || _attributeContext.GetDeclaredAttribute<PartNotDiscoverableAttribute>(type.AsType(), type) != null) 36part ??= new DiscoveredPart(type, _attributeContext, _activationFeatures); 55foreach (var export in _attributeContext.GetDeclaredAttributes<ExportAttribute>(partTypeAsType, partType)) 60var applied = _attributeContext.GetDeclaredAttributes(partTypeAsType, partType); 81foreach (var export in _attributeContext.GetDeclaredAttributes<ExportAttribute>(partTypeAsType, property)) 86var applied = _attributeContext.GetDeclaredAttributes(partTypeAsType, property);