Class AssemblyLoadContextUtil
This file is a helper class for internal usage only.
public static class AssemblyLoadContextUtil
- Inheritance
-
AssemblyLoadContextUtil
- Inherited Members
Remarks
This file is a helper class for internal usage only.
Be aware that its API and functionality may be changed in future.
Ussage of this class may throw TypeInitializationException
in .NET Standard enviroments that doesn't support System.Runtime.Loader
Methods
GetAssemblyName(string)
public static AssemblyName GetAssemblyName(string path)
Parameters
path
string
Returns
LoadFromDefaultContextAssemblyPath(string)
public static Assembly LoadFromDefaultContextAssemblyPath(string path)
Parameters
path
string
Returns
RegisterUnloadingEvent(Action<object>)
public static void RegisterUnloadingEvent(Action<object> onUnloading)
Parameters
RegisterUnloadingEvent(Action<object>, Assembly)
public static void RegisterUnloadingEvent(Action<object> onUnloading, Assembly assembly)