C# Class System.Runtime.Loader.AssemblyLoadContext

Mostra file Open project: dotnet/corefx Class Usage Examples

Public Methods

Method Description
GetAssemblyName ( string assemblyPath ) : System.Reflection.AssemblyName
GetLoadContext ( System assembly ) : System.Runtime.Loader.AssemblyLoadContext
LoadFromAssemblyName ( System assemblyName ) : System.Reflection.Assembly
LoadFromAssemblyPath ( string assemblyPath ) : System.Reflection.Assembly
LoadFromNativeImagePath ( string nativeImagePath, string assemblyPath ) : System.Reflection.Assembly
LoadFromStream ( System assembly ) : System.Reflection.Assembly
LoadFromStream ( System assembly, System assemblySymbols ) : System.Reflection.Assembly
SetProfileOptimizationRoot ( string directoryPath ) : void
StartProfileOptimization ( string profile ) : void

Protected Methods

Method Description
AssemblyLoadContext ( )
Load ( System assemblyName ) : System.Reflection.Assembly
LoadUnmanagedDll ( string unmanagedDllName ) : System.IntPtr
LoadUnmanagedDllFromPath ( string unmanagedDllPath ) : System.IntPtr

Method Details

AssemblyLoadContext() protected method

protected AssemblyLoadContext ( )

GetAssemblyName() public static method

public static GetAssemblyName ( string assemblyPath ) : System.Reflection.AssemblyName
assemblyPath string
return System.Reflection.AssemblyName

GetLoadContext() public static method

public static GetLoadContext ( System assembly ) : System.Runtime.Loader.AssemblyLoadContext
assembly System
return System.Runtime.Loader.AssemblyLoadContext

Load() protected abstract method

protected abstract Load ( System assemblyName ) : System.Reflection.Assembly
assemblyName System
return System.Reflection.Assembly

LoadFromAssemblyName() public method

public LoadFromAssemblyName ( System assemblyName ) : System.Reflection.Assembly
assemblyName System
return System.Reflection.Assembly

LoadFromAssemblyPath() public method

public LoadFromAssemblyPath ( string assemblyPath ) : System.Reflection.Assembly
assemblyPath string
return System.Reflection.Assembly

LoadFromNativeImagePath() public method

public LoadFromNativeImagePath ( string nativeImagePath, string assemblyPath ) : System.Reflection.Assembly
nativeImagePath string
assemblyPath string
return System.Reflection.Assembly

LoadFromStream() public method

public LoadFromStream ( System assembly ) : System.Reflection.Assembly
assembly System
return System.Reflection.Assembly

LoadFromStream() public method

public LoadFromStream ( System assembly, System assemblySymbols ) : System.Reflection.Assembly
assembly System
assemblySymbols System
return System.Reflection.Assembly

LoadUnmanagedDll() protected method

protected LoadUnmanagedDll ( string unmanagedDllName ) : System.IntPtr
unmanagedDllName string
return System.IntPtr

LoadUnmanagedDllFromPath() protected method

protected LoadUnmanagedDllFromPath ( string unmanagedDllPath ) : System.IntPtr
unmanagedDllPath string
return System.IntPtr

SetProfileOptimizationRoot() public method

public SetProfileOptimizationRoot ( string directoryPath ) : void
directoryPath string
return void

StartProfileOptimization() public method

public StartProfileOptimization ( string profile ) : void
profile string
return void