Class ScriptData
Data associated with a script, including its assembly and load context.
public record ScriptData : IEquatable<ScriptData>
- Inheritance
-
ScriptData
- Implements
- Inherited Members
- Extension Methods
Constructors
ScriptData(AssemblyLoadContext, Assembly, EmitResult)
Data associated with a script, including its assembly and load context.
public ScriptData(AssemblyLoadContext LoadContext, Assembly Assembly, EmitResult EmitResult)
Parameters
LoadContext
AssemblyLoadContextThe assembly load context in which the script is loaded.
Assembly
AssemblyThe assembly containing the compiled script.
EmitResult
EmitResultThe result of the script compilation, including any diagnostics or errors.
Properties
Assembly
The assembly containing the compiled script.
public Assembly Assembly { get; init; }
Property Value
EmitResult
The result of the script compilation, including any diagnostics or errors.
public EmitResult EmitResult { get; init; }
Property Value
LoadContext
The assembly load context in which the script is loaded.
public AssemblyLoadContext LoadContext { get; init; }