C# Class Signum.Web.PortableAreas.CompiledRazorBuildProvider

Inheritance: System.Web.WebPages.Razor.RazorBuildProvider
Mostra file Open project: signumsoftware/framework

Public Methods

Method Description
GenerateCode ( AssemblyBuilder assemblyBuilder ) : void

Generates source code for the virtual path of the build provider, and adds the source code to a specified assembly builder.

GetGeneratedType ( CompilerResults results ) : Type

Returns a type generated by the build provider from the virtual path.

Protected Methods

Method Description
GetCodeCompileUnit ( IDictionary &linePragmasTable ) : CodeCompileUnit
InternalOpenReader ( ) : TextReader

Method Details

GenerateCode() public method

Generates source code for the virtual path of the build provider, and adds the source code to a specified assembly builder.
public GenerateCode ( AssemblyBuilder assemblyBuilder ) : void
assemblyBuilder System.Web.Compilation.AssemblyBuilder The assembly builder that references the source code generated by the build provider.
return void

GetCodeCompileUnit() protected method

protected GetCodeCompileUnit ( IDictionary &linePragmasTable ) : CodeCompileUnit
linePragmasTable IDictionary
return System.CodeDom.CodeCompileUnit

GetGeneratedType() public method

Returns a type generated by the build provider from the virtual path.
public GetGeneratedType ( CompilerResults results ) : Type
results System.CodeDom.Compiler.CompilerResults The compilation results for the build provider's virtual path.
return System.Type

InternalOpenReader() protected method

protected InternalOpenReader ( ) : TextReader
return System.IO.TextReader