C# Class System.Runtime.Loader.AssemblyLoadContext

Afficher le fichier Open project: dotnet/corefx Class Usage Examples

Méthodes publiques

Méthode 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

Méthodes protégées

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

Method Details

AssemblyLoadContext() protected méthode

protected AssemblyLoadContext ( )

GetAssemblyName() public static méthode

public static GetAssemblyName ( string assemblyPath ) : System.Reflection.AssemblyName
assemblyPath string
Résultat System.Reflection.AssemblyName

GetLoadContext() public static méthode

public static GetLoadContext ( System assembly ) : System.Runtime.Loader.AssemblyLoadContext
assembly System
Résultat System.Runtime.Loader.AssemblyLoadContext

Load() protected abstract méthode

protected abstract Load ( System assemblyName ) : System.Reflection.Assembly
assemblyName System
Résultat System.Reflection.Assembly

LoadFromAssemblyName() public méthode

public LoadFromAssemblyName ( System assemblyName ) : System.Reflection.Assembly
assemblyName System
Résultat System.Reflection.Assembly

LoadFromAssemblyPath() public méthode

public LoadFromAssemblyPath ( string assemblyPath ) : System.Reflection.Assembly
assemblyPath string
Résultat System.Reflection.Assembly

LoadFromNativeImagePath() public méthode

public LoadFromNativeImagePath ( string nativeImagePath, string assemblyPath ) : System.Reflection.Assembly
nativeImagePath string
assemblyPath string
Résultat System.Reflection.Assembly

LoadFromStream() public méthode

public LoadFromStream ( System assembly ) : System.Reflection.Assembly
assembly System
Résultat System.Reflection.Assembly

LoadFromStream() public méthode

public LoadFromStream ( System assembly, System assemblySymbols ) : System.Reflection.Assembly
assembly System
assemblySymbols System
Résultat System.Reflection.Assembly

LoadUnmanagedDll() protected méthode

protected LoadUnmanagedDll ( string unmanagedDllName ) : System.IntPtr
unmanagedDllName string
Résultat System.IntPtr

LoadUnmanagedDllFromPath() protected méthode

protected LoadUnmanagedDllFromPath ( string unmanagedDllPath ) : System.IntPtr
unmanagedDllPath string
Résultat System.IntPtr

SetProfileOptimizationRoot() public méthode

public SetProfileOptimizationRoot ( string directoryPath ) : void
directoryPath string
Résultat void

StartProfileOptimization() public méthode

public StartProfileOptimization ( string profile ) : void
profile string
Résultat void