moving apidiff out of preview (#3595)
This commit is contained in:
committed by
GitHub
parent
bc827f2b64
commit
58b0c128d2
@@ -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();
|
||||
+ }
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user