C# 클래스 Microsoft.Practices.Prism.Tests.CompilerHelper

파일 보기 프로젝트 열기: xperiandri/PortablePrism

공개 메소드들

메소드 설명
CleanUpDirectory ( string path ) : void
CompileCode ( string code, string output ) : CompilerResults
CompileFile ( string input, string output ) : CompilerResults
CompileFileAndLoadAssembly ( string input, string output ) : Assembly
CreateOutput ( string output ) : void
GenerateDynamicModule ( string assemblyName, string moduleName ) : string
GenerateDynamicModule ( string assemblyName, string moduleName, string outpath ) : string
ThrowIfCompilerError ( CompilerResults results ) : void

메소드 상세

CleanUpDirectory() 공개 정적인 메소드

public static CleanUpDirectory ( string path ) : void
path string
리턴 void

CompileCode() 공개 정적인 메소드

public static CompileCode ( string code, string output ) : CompilerResults
code string
output string
리턴 System.CodeDom.Compiler.CompilerResults

CompileFile() 공개 정적인 메소드

public static CompileFile ( string input, string output ) : CompilerResults
input string
output string
리턴 System.CodeDom.Compiler.CompilerResults

CompileFileAndLoadAssembly() 공개 정적인 메소드

public static CompileFileAndLoadAssembly ( string input, string output ) : Assembly
input string
output string
리턴 System.Reflection.Assembly

CreateOutput() 공개 정적인 메소드

public static CreateOutput ( string output ) : void
output string
리턴 void

GenerateDynamicModule() 공개 정적인 메소드

public static GenerateDynamicModule ( string assemblyName, string moduleName ) : string
assemblyName string
moduleName string
리턴 string

GenerateDynamicModule() 공개 정적인 메소드

public static GenerateDynamicModule ( string assemblyName, string moduleName, string outpath ) : string
assemblyName string
moduleName string
outpath string
리턴 string

ThrowIfCompilerError() 공개 정적인 메소드

public static ThrowIfCompilerError ( CompilerResults results ) : void
results System.CodeDom.Compiler.CompilerResults
리턴 void