4 instantiations of ImportType
System.ComponentModel.Composition (4)
System\ComponentModel\Composition\AttributedModel\AttributedModelDiscovery.cs (2)
77
ImportType importType = new
ImportType
(reflectionParameter.ReturnType, attributedImport.Cardinality);
114
ImportType importType = new
ImportType
(reflectionMember.ReturnType, attributedImport.Cardinality);
System\ComponentModel\Composition\ReflectionModel\ReflectionMemberImportDefinition.cs (1)
35
return new ImportingMember(this, member, new
ImportType
(member.ReturnType, Cardinality));
System\ComponentModel\Composition\ReflectionModel\ReflectionParameterImportDefinition.cs (1)
34
return new ImportingParameter(this, new
ImportType
(ImportingLazyParameter.GetNotNullValue("parameter").ParameterType, Cardinality));
11 references to ImportType
System.ComponentModel.Composition (11)
System\ComponentModel\Composition\AttributedModel\AttributedModelDiscovery.cs (2)
77
ImportType
importType = new ImportType(reflectionParameter.ReturnType, attributedImport.Cardinality);
114
ImportType
importType = new ImportType(reflectionMember.ReturnType, attributedImport.Cardinality);
System\ComponentModel\Composition\Hosting\CompositionServices.cs (4)
150
internal static Type GetContractTypeFromImport(this IAttributedImport import,
ImportType
importType)
160
internal static string GetContractNameFromImport(this IAttributedImport import,
ImportType
importType)
172
internal static string? GetTypeIdentityFromImport(this IAttributedImport import,
ImportType
importType)
490
internal static IDictionary<string, object?> GetImportMetadata(
ImportType
importType, IAttributedImport attributedImport)
System\ComponentModel\Composition\ReflectionModel\ImportingItem.cs (3)
13
private readonly
ImportType
_importType;
15
protected ImportingItem(ContractBasedImportDefinition definition,
ImportType
importType)
28
public
ImportType
ImportType
System\ComponentModel\Composition\ReflectionModel\ImportingMember.cs (1)
19
public ImportingMember(ContractBasedImportDefinition definition, ReflectionWritableMember member,
ImportType
importType)
System\ComponentModel\Composition\ReflectionModel\ImportingParameter.cs (1)
10
public ImportingParameter(ContractBasedImportDefinition definition,
ImportType
importType)