CompilationResult Struct

Definition

Represents the result of compilation.

public value class CompilationResult
public struct CompilationResult
type CompilationResult = struct
Public Structure CompilationResult
Inheritance
CompilationResult

Constructors

CompilationResult(IEnumerable<CompilationFailure>)

Initializes a new instance of CompilationResult for a failed compilation.

CompilationResult(Type)

Initializes a new instance of CompilationResult for a successful compilation.

Properties

CompilationFailures

Gets the CompilationFailures produced from parsing or compiling the Razor file.

CompiledType

Gets the type produced as a result of compilation.

Methods

EnsureSuccessful()

Gets the CompilationResult.

Applies to