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
.NET Framework (current version)
Initializes a new instance of the CompositionContract class.
Assembly: System.Composition.Runtime (in System.Composition.Runtime.dll)
| Name | Description | |
|---|---|---|
![]() | CompositionContract(Type^) | Initializes a new instance of the CompositionContract class with the specified contract type. |
![]() | CompositionContract(Type^, String^) | Initializes a new instance of the CompositionContract class with the specified contract name and type. |
![]() | CompositionContract(Type^, String^, IDictionary<String^, Object^>^) | Initializes a new instance of the CompositionContract class with the specified contract name, type, and metadata constraints. |
Show:
