Windows apps
Collapse the table of content
Expand the table of content
Information
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.

CompositionDependency::Satisfied Method (CompositionContract^, ExportDescriptorPromise^, Boolean, Object^)

.NET Framework (current version)
 

Constructs a dependency on the specified target.

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

public:
static CompositionDependency^ Satisfied(
	CompositionContract^ contract,
	ExportDescriptorPromise^ target,
	bool isPrerequisite,
	Object^ site
)

Parameters

contract
Type: System.Composition.Hosting.Core::CompositionContract^

The dependency contract.

target
Type: System.Composition.Hosting.Core::ExportDescriptorPromise^

The dependency target.

isPrerequisite
Type: System::Boolean

A value that indicates whether the dependency is a prerequisite.

site
Type: System::Object^

A marker for the dependency.

Return Value

Type: System.Composition.Hosting.Core::CompositionDependency^

The constructed dependency.

Return to top
Show:
© 2017 Microsoft