CompositionDependency::Satisfied Method (CompositionContract^, ExportDescriptorPromise^, Boolean, Object^)
.NET Framework (current version)
Constructs a dependency on the specified target.
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.
Show: