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.
DependencyAccessor::ResolveRequiredDependency Method (Object^, CompositionContract^, Boolean)
.NET Framework (current version)
Resolves a required dependency on one implementation of a contract.
Assembly: System.Composition.Hosting (in System.Composition.Hosting.dll)
public: CompositionDependency^ ResolveRequiredDependency( Object^ site, CompositionContract^ contract, bool isPrerequisite )
Parameters
- site
-
Type:
System::Object^
A tag that describes the dependency site.
- contract
-
Type:
System.Composition.Hosting.Core::CompositionContract^
The contract required by the site.
- isPrerequisite
-
Type:
System::Boolean
A value that indicates whether the dependency must be satisfied before exports are made available.
Show: