CompositionContract Constructor (Type^, String^)

.NET Framework (current version)
 

Initializes a new instance of the CompositionContract class with the specified contract name and type.

Namespace:   System.Composition.Hosting.Core
Assembly:  System.Composition.Runtime (in System.Composition.Runtime.dll)

public:
CompositionContract(
	Type^ contractType,
	String^ contractName
)

Parameters

contractType
Type: System::Type^

The contract name.

contractName
Type: System::String^

The contract type.

Return to top
Show: