2 implementations of IAttributedImport
System.ComponentModel.Composition (2)
System\ComponentModel\Composition\ImportAttribute.cs (1)
14
public class ImportAttribute : Attribute,
IAttributedImport
System\ComponentModel\Composition\ImportManyAttribute.cs (1)
14
public class ImportManyAttribute : Attribute,
IAttributedImport
13 references to IAttributedImport
System.ComponentModel.Composition (13)
System\ComponentModel\Composition\AttributedModel\AttributedModelDiscovery.cs (5)
76
IAttributedImport
attributedImport = AttributedModelDiscovery.GetAttributedImport(reflectionParameter, parameter);
113
IAttributedImport
attributedImport = AttributedModelDiscovery.GetAttributedImport(reflectionMember, member);
149
private static
IAttributedImport
GetAttributedImport(ReflectionItem item, ICustomAttributeProvider attributeProvider)
151
IAttributedImport
[] imports = attributeProvider.GetAttributes<
IAttributedImport
>(false);
System\ComponentModel\Composition\AttributedModel\AttributedPartCreationInfo.cs (1)
497
return attributeProvider.IsAttributeDefined<
IAttributedImport
>(false);
System\ComponentModel\Composition\Hosting\CompositionServices.cs (5)
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)
495
internal static IDictionary<string, object?> GetImportMetadata(Type type,
IAttributedImport
? attributedImport)
System\ComponentModel\Composition\ImportAttribute.cs (1)
182
ImportCardinality
IAttributedImport
.Cardinality
System\ComponentModel\Composition\ImportManyAttribute.cs (1)
160
ImportCardinality
IAttributedImport
.Cardinality