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