2 writes to _attributeContext
System.Composition.TypedParts (2)
System\Composition\TypedParts\Discovery\DiscoveredPart.cs (2)
46_attributeContext = attributeContext; 57_attributeContext = attributeContext;
5 references to _attributeContext
System.Composition.TypedParts (5)
System\Composition\TypedParts\Discovery\DiscoveredPart.cs (5)
89if (_attributeContext.GetDeclaredAttribute<ImportingConstructorAttribute>(partTypeAsType, c) != null) 122var importInfo = ContractHelpers.GetImportInfo(pi.ParameterType, _attributeContext.GetDeclaredAttributes(partTypeAsType, pi), site); 149if (_attributeContext.GetDeclaredAttribute<ImportingConstructorAttribute>(genericPartType, constructorInfo) != null) 211foreach (var attr in _attributeContext.GetDeclaredAttributes(partType.AsType(), partType)) 246var result = new DiscoveredPart(closedType, _attributeContext, _activationFeatures, _partMetadata);