UncachedCompilationResult Class¶
Summary¶
Represents the result of compilation that does not come from the [Microsoft.AspNet.Mvc.Razor.Compilation.ICompilerCache](Microsoft.AspNet.Mvc.Razor.Compilation.ICompilerCache.yml).
Properties¶
-
RazorFileContent
()¶ Return type: System.String public string RazorFileContent { get; }
-
Methods¶
-
Successful
(System.Type, System.String)¶ Creates a [Microsoft.AspNet.Mvc.Razor.Compilation.UncachedCompilationResult](Microsoft.AspNet.Mvc.Razor.Compilation.UncachedCompilationResult.yml) that represents a success in compilation.
Arguments: - type (System.Type) – The compiled type.
- compiledContent (System.String) – The generated C# content that was compiled.
Return type: Microsoft.AspNet.Mvc.Razor.Compilation.UncachedCompilationResult
Returns: An [Microsoft.AspNet.Mvc.Razor.Compilation.UncachedCompilationResult](Microsoft.AspNet.Mvc.Razor.Compilation.UncachedCompilationResult.yml) instance that indicates a successful compilation.
public static UncachedCompilationResult Successful(Type type, string compiledContent)
-