C# 클래스 Tsukikage.Util.CSharpCompiler

C# Compiler.
파일 보기 프로젝트 열기: ttsuki/ttsuki

공개 메소드들

메소드 설명
CompileDebuggerAttachable ( string>.IDictionary sourceFileNameAndSourceCodePairs, bool treatWarningsAsErrors ) : Assembly

最適化無効デバッグ情報ありでコンパイルしてロードしたアセンブリを返す。 Compile sources and load assembly(as Debug build).

CompileFromFile ( CompilerParameters param, string sourceFileNames ) : Assembly

指定されたパラメータでコンパイルし、アセンブリを返す。

CompileFromSource ( CompilerParameters param, string>.IDictionary sourceFileNameAndCodePairs ) : Assembly

Compile and return loaded assembly. 指定されたパラメータでコンパイルし、アセンブリを返す。

CompileRelease ( string>.IDictionary sourceFileNameAndSourceCodePairs, bool treatWarningsAsErrors ) : Assembly

最適化有効デバッグ情報なしでコンパイルしアセンブリを返す。 Compile sources and load assembly(as Release build).

CompilerErrorToString ( CompilerError error ) : string

コンパイルエラーを文字列に。 Convert erros to string.

비공개 메소드들

메소드 설명
CSharpCompiler ( ) : System

메소드 상세

CompileDebuggerAttachable() 공개 정적인 메소드

最適化無効デバッグ情報ありでコンパイルしてロードしたアセンブリを返す。 Compile sources and load assembly(as Debug build).
コンパイルエラー
public static CompileDebuggerAttachable ( string>.IDictionary sourceFileNameAndSourceCodePairs, bool treatWarningsAsErrors ) : Assembly
sourceFileNameAndSourceCodePairs string>.IDictionary ソースファイル名(物理的にファイルが存在する必要あり。Valueは無視されます!)
treatWarningsAsErrors bool
리턴 System.Reflection.Assembly

CompileFromFile() 공개 정적인 메소드

指定されたパラメータでコンパイルし、アセンブリを返す。
public static CompileFromFile ( CompilerParameters param, string sourceFileNames ) : Assembly
param System.CodeDom.Compiler.CompilerParameters コンパイルパラメータ
sourceFileNames string ソースファイル名
리턴 System.Reflection.Assembly

CompileFromSource() 공개 정적인 메소드

Compile and return loaded assembly. 指定されたパラメータでコンパイルし、アセンブリを返す。
public static CompileFromSource ( CompilerParameters param, string>.IDictionary sourceFileNameAndCodePairs ) : Assembly
param System.CodeDom.Compiler.CompilerParameters コンパイルパラメータ
sourceFileNameAndCodePairs string>.IDictionary ファイル名とソースコードのKVP
리턴 System.Reflection.Assembly

CompileRelease() 공개 정적인 메소드

最適化有効デバッグ情報なしでコンパイルしアセンブリを返す。 Compile sources and load assembly(as Release build).
コンパイルエラー
public static CompileRelease ( string>.IDictionary sourceFileNameAndSourceCodePairs, bool treatWarningsAsErrors ) : Assembly
sourceFileNameAndSourceCodePairs string>.IDictionary ファイル名とソースコードのKVP
treatWarningsAsErrors bool
리턴 System.Reflection.Assembly

CompilerErrorToString() 공개 정적인 메소드

コンパイルエラーを文字列に。 Convert erros to string.
public static CompilerErrorToString ( CompilerError error ) : string
error CompilerError
리턴 string