IRazorCompilationService Interface¶
Methods¶
-
Compile
(Microsoft.AspNet.Mvc.Razor.Compilation.RelativeFileInfo)¶ Compiles the razor file located at <paramref name=”fileInfo” />.
Arguments: - fileInfo (Microsoft.AspNet.Mvc.Razor.Compilation.RelativeFileInfo) – A [Microsoft.AspNet.Mvc.Razor.Compilation.RelativeFileInfo](Microsoft.AspNet.Mvc.Razor.Compilation.RelativeFileInfo.yml) instance that represents the file to compile.
Return type: Microsoft.AspNet.Mvc.Razor.Compilation.CompilationResult
Returns: A [Microsoft.AspNet.Mvc.Razor.Compilation.CompilationResult](Microsoft.AspNet.Mvc.Razor.Compilation.CompilationResult.yml) that represents the results of parsing and compiling the file.
CompilationResult Compile(RelativeFileInfo fileInfo)
-