C# Class Tsukikage.Util.CSharpCompiler

C# Compiler.
Exibir arquivo Open project: ttsuki/ttsuki

Public Methods

Method Description
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.

Private Methods

Method Description
CSharpCompiler ( ) : System

Method Details

CompileDebuggerAttachable() public static method

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

CompileFromFile() public static method

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

CompileFromSource() public static method

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

CompileRelease() public static method

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

CompilerErrorToString() public static method

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