PowerShellAssemblyLoadContextInitializer Class

Definition

This is the managed entry point for Microsoft.PowerShell.CoreCLR.AssemblyLoadContext.dll.

public ref class PowerShellAssemblyLoadContextInitializer
Inheritance
PowerShellAssemblyLoadContextInitializer

Constructors

Methods

SetPowerShellAssemblyLoadContext(String)

Create a singleton of PowerShellAssemblyLoadContext. Then register to the Resolving event of the load context that loads this assembly.

Applies to