DependencyAccessor.ResolveDependencies Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Resolves dependencies on all implementations of a contract.
public:
System::Collections::Generic::IEnumerable<System::Composition::Hosting::Core::CompositionDependency ^> ^ ResolveDependencies(System::Object ^ site, System::Composition::Hosting::Core::CompositionContract ^ contract, bool isPrerequisite);
public System.Collections.Generic.IEnumerable<System.Composition.Hosting.Core.CompositionDependency> ResolveDependencies (object site, System.Composition.Hosting.Core.CompositionContract contract, bool isPrerequisite);
member this.ResolveDependencies : obj * System.Composition.Hosting.Core.CompositionContract * bool -> seq<System.Composition.Hosting.Core.CompositionDependency>
Public Function ResolveDependencies (site As Object, contract As CompositionContract, isPrerequisite As Boolean) As IEnumerable(Of CompositionDependency)
Parameters
- site
- Object
A tag that describes the dependency site.
- contract
- CompositionContract
The contract required by the site.
- isPrerequisite
- Boolean
true
to indicate that the dependency must be satisfied before exports are made available; otherwise, false
.
Returns
A collection of resolved dependencies.
Applies to
Spolupracujte s námi na GitHubu
Zdroj tohoto obsahu najdete na GitHubu, kde můžete také vytvářet a kontrolovat problémy a žádosti o přijetí změn. Další informace najdete v našem průvodci pro přispěvatele.
Váš názor
https://aka.ms/ContentUserFeedback.
Připravujeme: V průběhu roku 2024 budeme postupně vyřazovat problémy z GitHub coby mechanismus zpětné vazby pro obsah a nahrazovat ho novým systémem zpětné vazby. Další informace naleznete v tématu:Odeslat a zobrazit názory pro