1 instantiation of ImportInfo
System.Composition.TypedParts (1)
System\Composition\TypedParts\ContractHelpers.cs (1)
92
return new
ImportInfo
(importedContract, allowDefault);
4 references to ImportInfo
System.Composition.TypedParts (4)
System\Composition\CompositionContextExtensions.cs (1)
64
ImportInfo
importInfo;
System\Composition\TypedParts\ContractHelpers.cs (2)
17
public static bool TryGetExplicitImportInfo(Type memberType, object[] attributes, object site, out
ImportInfo
importInfo)
29
public static
ImportInfo
GetImportInfo(Type memberType, object[] attributes, object site)
System\Composition\TypedParts\Discovery\DiscoveredPart.cs (1)
122
var
importInfo = ContractHelpers.GetImportInfo(pi.ParameterType, _attributeContext.GetDeclaredAttributes(partTypeAsType, pi), site);