C# Class RazorPad.Compilation.TemplateCompilationParameters

显示文件 Open project: RazorPad/RazorPad Class Usage Examples

Public Methods

Method Description
AddAssemblyReference ( Assembly assembly ) : void
AddAssemblyReference ( Type type ) : void
AddAssemblyReference ( string location ) : void
CreateFromFilename ( string filename ) : TemplateCompilationParameters
SetReferencedAssemblies ( IEnumerable references ) : void

Protected Methods

Method Description
TemplateCompilationParameters ( RazorCodeLanguage language, CodeDomProvider codeProvider, CompilerParameters compilerParameters = null ) : System

Method Details

AddAssemblyReference() public method

public AddAssemblyReference ( Assembly assembly ) : void
assembly System.Reflection.Assembly
return void

AddAssemblyReference() public method

public AddAssemblyReference ( Type type ) : void
type System.Type
return void

AddAssemblyReference() public method

public AddAssemblyReference ( string location ) : void
location string
return void

CreateFromFilename() public static method

public static CreateFromFilename ( string filename ) : TemplateCompilationParameters
filename string
return TemplateCompilationParameters

SetReferencedAssemblies() public method

public SetReferencedAssemblies ( IEnumerable references ) : void
references IEnumerable
return void

TemplateCompilationParameters() protected method

protected TemplateCompilationParameters ( RazorCodeLanguage language, CodeDomProvider codeProvider, CompilerParameters compilerParameters = null ) : System
language System.Web.Razor.RazorCodeLanguage
codeProvider CodeDomProvider
compilerParameters System.CodeDom.Compiler.CompilerParameters
return System