9 references to CompositionContract
System.Composition.Runtime (4)
System\Composition\CompositionContext.cs (2)
76if (TryGetExport(new CompositionContract(exportType, contractName), out export)) 139return GetExport(new CompositionContract(exportType, contractName));
System\Composition\Hosting\Core\CompositionContract.cs (2)
25: this(contractType, null) 163remainingContract = new CompositionContract(_contractType, _contractName);
System.Composition.TypedParts (5)
System\Composition\TypedParts\ContractHelpers.cs (2)
41importedContract = new CompositionContract(memberType, ia.ContractName); 52importedContract = new CompositionContract(memberType, ima.ContractName);
System\Composition\TypedParts\Discovery\TypeInspector.cs (2)
66var exportKey = new CompositionContract(contractType, export.ContractName); 92var exportKey = new CompositionContract(export.ContractType ?? property.PropertyType, export.ContractName);
System\Composition\TypedParts\TypedPartExportDescriptorProvider.cs (1)
81var unconstrained = new CompositionContract(contract.ContractType, contract.ContractName);