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