C# Class Microsoft.Azure.WebJobs.Script.Description.FunctionAssemblyLoader

Manages runtime assembly resolution for managed code functions, loading assemblies from their respective FunctionAssemblyLoadContext.
Inheritance: IDisposable
Afficher le fichier Open project: Azure/azure-webjobs-sdk-script Class Usage Examples

Méthodes publiques

Méthode Description
Dispose ( ) : void
FunctionAssemblyLoader ( string rootScriptPath ) : System
GetAssemblyNameFromMetadata ( FunctionMetadata metadata, string suffix ) : string
GetFunctionNameFromAssembly ( Assembly assembly ) : string
ReleaseContext ( FunctionMetadata metadata ) : bool

Private Methods

Méthode Description
CreateOrUpdateContext ( FunctionMetadata metadata, Assembly functionAssembly, IFunctionMetadataResolver metadataResolver, Microsoft.Azure.WebJobs.Host.TraceWriter traceWriter ) : FunctionAssemblyLoadContext
Dispose ( bool disposing ) : void
GetFunctionContext ( Assembly requestingAssembly ) : FunctionAssemblyLoadContext
GetFunctionContext ( string functionName ) : FunctionAssemblyLoadContext
GetFunctionContextFromDependency ( Assembly requestingAssembly ) : FunctionAssemblyLoadContext
ResolveAssembly ( object sender, ResolveEventArgs args ) : Assembly

Method Details

Dispose() public méthode

public Dispose ( ) : void
Résultat void

FunctionAssemblyLoader() public méthode

public FunctionAssemblyLoader ( string rootScriptPath ) : System
rootScriptPath string
Résultat System

GetAssemblyNameFromMetadata() public static méthode

public static GetAssemblyNameFromMetadata ( FunctionMetadata metadata, string suffix ) : string
metadata FunctionMetadata
suffix string
Résultat string

GetFunctionNameFromAssembly() public méthode

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

ReleaseContext() public méthode

public ReleaseContext ( FunctionMetadata metadata ) : bool
metadata FunctionMetadata
Résultat bool