8 references to CompositionContract
Microsoft.DotNet.AsmDiff (1)
MefHelpers.cs (1)
48
var constrainedSubset = new
CompositionContract
(contract.ContractType, contract.ContractName,
System.Composition.Runtime (4)
System\Composition\CompositionContext.cs (1)
178
var manyContract = new
CompositionContract
(
System\Composition\Hosting\Core\CompositionContract.cs (3)
35
:
this
(contractType, contractName, null)
128
return new
CompositionContract
(newContractType, _contractName, _metadataConstraints);
169
remainingContract = new
CompositionContract
(_contractType, _contractName, remainingConstraints);
System.Composition.TypedParts (3)
System\Composition\Hosting\SinglePartExportDescriptorProvider.cs (1)
31
var constrainedSubset = new
CompositionContract
(contract.ContractType, contract.ContractName,
System\Composition\TypedParts\ContractHelpers.cs (1)
89
importedContract = new
CompositionContract
(importedContract.ContractType, importedContract.ContractName, importMetadata);
System\Composition\TypedParts\TypedPartExportDescriptorProvider.cs (1)
92
var constrainedSubset = new
CompositionContract
(unconstrained.ContractType, unconstrained.ContractName, subsettedConstraints);