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