C# Class RazorSpy.Engines.v1.RazorEngineV1

Inheritance: IRazorEngine
Exibir arquivo Open project: RazorSpy/RazorSpy

Private Properties

Property Type Description
CreateEngine System.Web.Razor.RazorTemplateEngine

Public Methods

Method Description
CreateHost ( ) : ITemplateHost
Generate ( TextReader document, ITemplateHost host ) : GenerationResult

Private Methods

Method Description
CreateEngine ( ITemplateHost host ) : System.Web.Razor.RazorTemplateEngine

Method Details

CreateHost() public method

public CreateHost ( ) : ITemplateHost
return ITemplateHost

Generate() public method

public Generate ( TextReader document, ITemplateHost host ) : GenerationResult
document TextReader
host ITemplateHost
return RazorSpy.Contracts.SyntaxTree.GenerationResult