CompilationResult
Ecng.Compilation
Represents the result of a compilation process including any compilation errors.
Constructores
CompilationResult
protected CompilationResult(IEnumerable<CompilationError> errors)
compilationResult = CompilationResult(errors)
Represents the result of a compilation process including any compilation errors.
- errors
- A collection of compilation errors.
Propiedades
Errors
public IEnumerable<CompilationError> Errors { get; }
value = compilationResult.Errors
Gets the collection of compilation errors.
Métodos
GetAssembly
public abstract Assembly GetAssembly(ICompilerContext context)
result = compilationResult.GetAssembly(context)
Loads the compiled assembly using the provided compiler context.
- context
- The compiler context used to load the assembly.
Devuelve: The loaded assembly, or null if the assembly body is not available.