You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: xml/System.Runtime.Loader/AssemblyDependencyResolver.xml
+21-12Lines changed: 21 additions & 12 deletions
Original file line number
Diff line number
Diff line change
@@ -14,8 +14,17 @@
14
14
</Base>
15
15
<Interfaces />
16
16
<Docs>
17
-
<summary>To be added.</summary>
18
-
<remarks>To be added.</remarks>
17
+
<summary>Allows a program to resolve assemblies and native libraries to paths based on the dependencies of a given assembly.</summary>
18
+
<remarks>
19
+
<formattype="text/markdown">< describes how to create a custom <xref:System.Runtime.Loader.AssemblyLoadContext> that uses an `AssemblyDependencyResolver` to resolve the dependencies of the plugin and correctly isolate the plugin's dependencies from the hosting application.
<paramname="componentAssemblyPath">To be added.</param>
38
-
<summary>To be added.</summary>
39
-
<remarks>To be added.</remarks>
46
+
<paramname="componentAssemblyPath">The path to the component or plugin's managed entry point.</param>
47
+
<summary>Initializes a new instance of the <seecref="T:System.Runtime.Loader.AssemblyDependencyResolver" /> class with a path to a component's assembly.</summary>
48
+
<remarks>`componentAssemblyPath` can be a relative or an absolute path. The assembly must have an accompanying deps.json file in the same directory that describes the assembly's dependencies. This file is output during the build process.</remarks>
<paramname="assemblyName">The assembly name to resolve.</param>
70
+
<summary>Resolves a path to an assembly with the given assembly name based on the component's dependencies.</summary>
71
+
<returns>The path to an assembly with the given name from the component's deps.json file, or <c>null</c> if the assembly does not exist in the deps.json file or is not on disk in the location specified by the deps.json file.</returns>
<paramname="unmanagedDllName">To be added.</param>
86
-
<summary>To be added.</summary>
87
-
<returns>To be added.</returns>
94
+
<paramname="unmanagedDllName">The name of the native library to resolve.</param>
95
+
<summary>Resolves a path to a native library with the given name based on the component's dependencies.</summary>
96
+
<returns>The path to a native library with the given name from the component's deps.json file and the current runtime identifier, or <c>null</c> if the assembly does not exist in the deps.json file or is not on disk in the location specified by the deps.json file.</returns>
0 commit comments