6 references to ContractName
System.ComponentModel.Composition (6)
System\ComponentModel\Composition\Hosting\ScopingExtensions.cs (3)
26
if (StringComparers.
ContractName
.Equals(contractName, export.ContractName))
49
if (StringComparers.
ContractName
.Equals(contractName, import.ContractName))
74
if (StringComparers.
ContractName
.Equals(contractName, import.ContractName) && (import.Cardinality == importCardinality))
System\ComponentModel\Composition\Hosting\TypeCatalog.cs (1)
318
Dictionary<string, List<ComposablePartDefinition>> index = new Dictionary<string, List<ComposablePartDefinition>>(StringComparers.
ContractName
);
System\ComponentModel\Composition\Primitives\ContractBasedImportDefinition.cs (2)
299
if (!StringComparers.
ContractName
.Equals(ContractName, exportDefinition.ContractName))
313
if (!StringComparers.
ContractName
.Equals(RequiredTypeIdentity, exportTypeIdentity))