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