Created
June 23, 2020 14:11
-
-
Save kevingosse/7b2f396807e158fa6dae6c5c3f8945f6 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public static void Initialize() | |
{ | |
var loadContext = new StartupAssemblyLoadContext(); | |
var assembly = loadContext.LoadFromAssemblyName(new AssemblyName("GCCollector")); | |
assembly.CreateInstance("GCCollector.Poller"); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment