RingDotNetfor Ring

System.Runtime.Loader

3 wrapped types. Load them with using { "System.Runtime.Loader" }. Click a class to open it.

AssemblyDependencyResolver class sealed

System.Runtime.Loader.AssemblyDependencyResolver · assembly System.Private.CoreLib

Constructors

new AssemblyDependencyResolver(string componentAssemblyPath)

Ring: new AssemblyDependencyResolver(args) uses one constructor; the others are chosen by the parameter names: new AssemblyDependencyResolver().@New([ :param = value ]) or dnNew("AssemblyDependencyResolver",[ :param = value ]).

Methods

MethodRing call.NET overloads
ResolveAssemblyToPathResolveAssemblyToPath(p1)string ResolveAssemblyToPath(AssemblyName assemblyName)
ResolveUnmanagedDllToPathcallMethod("ResolveUnmanagedDllToPath",[p1])string ResolveUnmanagedDllToPath(string unmanagedDllName)
AssemblyLoadContext class

System.Runtime.Loader.AssemblyLoadContext · assembly System.Private.CoreLib

Constructors

new AssemblyLoadContext(string name, bool isCollectible = …)

Ring: new AssemblyLoadContext(args) uses one constructor; the others are chosen by the parameter names: new AssemblyLoadContext().@New([ :param = value ]) or dnNew("AssemblyLoadContext",[ :param = value ]).

Properties and fields

NameTypeAccessIn Ring
AssembliesIEnumerable<Assembly>reado.Assemblies
IsCollectibleboolreado.IsCollectible
Namestringreado.Name
DefaultAssemblyLoadContextread · statico.Default
AllIEnumerable<AssemblyLoadContext>read · statico.All
CurrentContextualReflectionContextAssemblyLoadContextread · statico.CurrentContextualReflectionContext

Methods

MethodRing call.NET overloads
EnterContextualReflectionEnterContextualReflection(NULL)
EnterContextualReflection(value)
EnterContextualReflection([ :activating = … ])
AssemblyLoadContext.ContextualReflectionScope EnterContextualReflection()
static AssemblyLoadContext.ContextualReflectionScope EnterContextualReflection(Assembly activating)
GetAssemblyNameGetAssemblyName(p1)static AssemblyName GetAssemblyName(string assemblyPath)
GetLoadContextGetLoadContext(p1)static AssemblyLoadContext GetLoadContext(Assembly assembly)
LoadFromAssemblyNamecallMethod("LoadFromAssemblyName",[p1])Assembly LoadFromAssemblyName(AssemblyName assemblyName)
LoadFromAssemblyPathcallMethod("LoadFromAssemblyPath",[p1])Assembly LoadFromAssemblyPath(string assemblyPath)
LoadFromNativeImagePathcallMethod("LoadFromNativeImagePath",[p1,p2])Assembly LoadFromNativeImagePath(string nativeImagePath, string assemblyPath)
LoadFromStreamLoadFromStream(value)
LoadFromStream([ :assembly = … ])
LoadFromStream([ :assembly = …, :assemblySymbols = … ])
Assembly LoadFromStream(Stream assembly)
Assembly LoadFromStream(Stream assembly, Stream assemblySymbols)
SetProfileOptimizationRootcallMethod("SetProfileOptimizationRoot",[p1])void SetProfileOptimizationRoot(string directoryPath)
StartProfileOptimizationcallMethod("StartProfileOptimization",[p1])void StartProfileOptimization(string profile)
ToStringcallMethod("ToString",[])string ToString()
UnloadcallMethod("Unload",[])void Unload()

Events

EventHandler typeIn Ring
ResolvingUnmanagedDllFunc<Assembly, string, IntPtr>o.setResolvingUnmanagedDllEvent(code) · o.clearResolvingUnmanagedDllEvent()
ResolvingFunc<AssemblyLoadContext, AssemblyName, Assembly>o.setResolvingEvent(code) · o.clearResolvingEvent()
UnloadingAction<AssemblyLoadContext>o.setUnloadingEvent(code) · o.clearUnloadingEvent()
AssemblyLoadContextContextualReflectionScope struct

System.Runtime.Loader.AssemblyLoadContext+ContextualReflectionScope · assembly System.Private.CoreLib

Implements: IDisposable

Methods

MethodRing call.NET overloads
DisposecallMethod("Dispose",[])void Dispose()