1
0
mirror of synced 2026-01-22 09:00:24 -05:00

moving apidiff out of preview (#3595)

This commit is contained in:
Anirudh Agnihotry
2019-10-10 13:57:00 -07:00
committed by GitHub
parent bc827f2b64
commit 58b0c128d2
325 changed files with 5 additions and 10878 deletions

View File

@@ -0,0 +1,33 @@
# System.Runtime.Loader
``` diff
namespace System.Runtime.Loader {
+ public sealed class AssemblyDependencyResolver {
+ public AssemblyDependencyResolver(string componentAssemblyPath);
+ public string ResolveAssemblyToPath(AssemblyName assemblyName);
+ public string ResolveUnmanagedDllToPath(string unmanagedDllName);
+ }
- public abstract class AssemblyLoadContext {
+ public class AssemblyLoadContext {
+ protected AssemblyLoadContext(bool isCollectible);
+ public AssemblyLoadContext(string name, bool isCollectible = false);
+ public static IEnumerable<AssemblyLoadContext> All { get; }
+ public IEnumerable<Assembly> Assemblies { get; }
+ public static AssemblyLoadContext CurrentContextualReflectionContext { get; }
+ public bool IsCollectible { get; }
+ public string Name { get; }
+ public event Func<Assembly, string, IntPtr> ResolvingUnmanagedDll;
+ public AssemblyLoadContext.ContextualReflectionScope EnterContextualReflection();
+ public static AssemblyLoadContext.ContextualReflectionScope EnterContextualReflection(Assembly activating);
+ ~AssemblyLoadContext();
- protected abstract Assembly Load(AssemblyName assemblyName);
+ protected virtual Assembly Load(AssemblyName assemblyName);
+ public override string ToString();
+ public void Unload();
+ public struct ContextualReflectionScope : IDisposable {
+ public void Dispose();
+ }
}
}
```