The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.
CompositionContract Constructor (Type^, String^, IDictionary<String^, Object^>^)
.NET Framework (current version)
Initializes a new instance of the CompositionContract class with the specified contract name, type, and metadata constraints.
Assembly: System.Composition.Runtime (in System.Composition.Runtime.dll)
public:
CompositionContract(
Type^ contractType,
String^ contractName,
IDictionary<String^, Object^>^ metadataConstraints
)
Parameters
- contractType
-
Type:
System::Type^
The contract type.
- contractName
-
Type:
System::String^
The contract name.
- metadataConstraints
-
Type:
System.Collections.Generic::IDictionary<String^, Object^>^
A collection of contract metadata constraints.
Show: