RazorCompilationFailure Class¶
Inheritance Hierarchy¶
ICompilationFailure
Microsoft.AspNet.Mvc.Razor.Compilation.RazorCompilationFailure
Constructors¶
-
RazorCompilationFailure
(System.String, System.String, System.Collections.Generic.IEnumerable<Microsoft.AspNet.Mvc.Razor.Compilation.RazorCompilationMessage>)¶ Initializes a new instance of [Microsoft.AspNet.Mvc.Razor.Compilation.RazorCompilationFailure](Microsoft.AspNet.Mvc.Razor.Compilation.RazorCompilationFailure.yml).
Arguments: - sourceFilePath (System.String) – The path of the Razor source file that was compiled.
- sourceFileContent (System.String) – The contents of the Razor source file.
- messages (System.Collections.Generic.IEnumerable{Microsoft.AspNet.Mvc.Razor.Compilation.RazorCompilationMessage}) – A sequence of @!:ICompilationMessage- encountered during compilation.
public RazorCompilationFailure(string sourceFilePath, string sourceFileContent, IEnumerable<RazorCompilationMessage> messages)
-
Properties¶
-
CompiledContent
()¶ Return type: System.String public string CompiledContent { get; }
-
Messages
()¶ Return type: System.Collections.Generic.IEnumerable{ICompilationMessage} public IEnumerable<ICompilationMessage> Messages { get; }
-
SourceFileContent
()¶ Return type: System.String public string SourceFileContent { get; }
-
SourceFilePath
()¶ Return type: System.String public string SourceFilePath { get; }
-