12 references to ZeroOrMore
System.ComponentModel.Composition (12)
System\ComponentModel\Composition\Hosting\AggregateExportProvider.cs (1)
160if (definition.Cardinality == ImportCardinality.ZeroOrMore)
System\ComponentModel\Composition\Hosting\ExportProvider.cs (1)
133/// <see cref="ImportCardinality.ZeroOrOne"/> or <see cref="ImportCardinality.ZeroOrMore"/> and
System\ComponentModel\Composition\Hosting\ExportProvider.GetExportOverrides.cs (4)
263IEnumerable<Export> exports = GetExportsCore(type, metadataViewType, contractName, ImportCardinality.ZeroOrMore); 713IEnumerable<Export> exports = GetExportsCore(typeof(T), (Type?)null, contractName, ImportCardinality.ZeroOrMore); 737IEnumerable<Export> exports = GetExportsCore(typeof(T), (Type?)null, contractName, ImportCardinality.ZeroOrMore); 749IEnumerable<Export> exports = GetExportsCore(typeof(T), typeof(TMetadataView), contractName, ImportCardinality.ZeroOrMore);
System\ComponentModel\Composition\ImportManyAttribute.cs (1)
162get { return ImportCardinality.ZeroOrMore; }
System\ComponentModel\Composition\Primitives\ImportDefinition.cs (1)
101(cardinality != ImportCardinality.ZeroOrMore) &&
System\ComponentModel\Composition\ReflectionModel\ImportingItem.cs (1)
35if (Definition.Cardinality == ImportCardinality.ZeroOrMore)
System\ComponentModel\Composition\ReflectionModel\ImportingMember.cs (1)
41if (Definition.Cardinality != ImportCardinality.ZeroOrMore)
System\ComponentModel\Composition\ReflectionModel\ImportType.cs (1)
42if (cardinality == ImportCardinality.ZeroOrMore)
System\ComponentModel\Composition\ReflectionModel\ReflectionComposablePart.cs (1)
322if (definition.Cardinality == ImportCardinality.ZeroOrMore && !import.ImportType.IsAssignableCollectionType)