2 instantiations of ImportAttribute
System.ComponentModel.Composition (1)
System\ComponentModel\Composition\AttributedModel\AttributedModelDiscovery.cs (1)
156return new ImportAttribute();
System.ComponentModel.Composition.Registration (1)
System\ComponentModel\Composition\Registration\ImportBuilder.cs (1)
79importAttribute = new ImportAttribute(_contractName, _contractType)
5 references to ImportAttribute
System.ComponentModel.Composition (3)
System\ComponentModel\Composition\ImportAttribute.cs (3)
17/// Initializes a new instance of the <see cref="ImportAttribute"/> class, importing the 37/// Initializes a new instance of the <see cref="ImportAttribute"/> class, importing the 66/// Initializes a new instance of the <see cref="ImportAttribute"/> class, importing the
System.ComponentModel.Composition.Registration (2)
System\ComponentModel\Composition\Registration\PartBuilder.cs (2)
424bool isConfigured = pi.GetCustomAttributes(typeof(ImportAttribute), false).FirstOrDefault() != null || pi.GetCustomAttributes(typeof(ImportManyAttribute), false).FirstOrDefault() != null; 472isConfigured = pi.GetCustomAttributes(typeof(ImportAttribute), false).FirstOrDefault() != null || pi.GetCustomAttributes(typeof(ImportManyAttribute), false).FirstOrDefault() != null;