CompilationResult Struct 
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Represents the result of compilation.
public value class CompilationResultpublic struct CompilationResulttype CompilationResult = structPublic 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. |