C# 클래스 Forex_Strategy_Trader.CSharp_Compiler

CSharp_Compiler manages the compilation of source code to an assembly. This class is thread safe, so multiple threads are capable to utilize it simultaneously.
파일 보기 프로젝트 열기: MerlinBrasil/Forex-Strategy-Trader 1 사용 예제들

공개 메소드들

메소드 설명
AddReferencedAssembly ( Assembly assembly ) : void

For the source code to compile, it needs to have a reference to assemblies to use the IL code inside them.

CSharp_Compiler ( ) : System.CodeDom.Compiler

Constructor.

CompileSource ( string source, int>.Dictionary &compilerErrors ) : Assembly

Compile a single source file to assembly.

메소드 상세

AddReferencedAssembly() 공개 메소드

For the source code to compile, it needs to have a reference to assemblies to use the IL code inside them.
public AddReferencedAssembly ( Assembly assembly ) : void
assembly System.Reflection.Assembly An assembly to add.
리턴 void

CSharp_Compiler() 공개 메소드

Constructor.
public CSharp_Compiler ( ) : System.CodeDom.Compiler
리턴 System.CodeDom.Compiler

CompileSource() 공개 메소드

Compile a single source file to assembly.
public CompileSource ( string source, int>.Dictionary &compilerErrors ) : Assembly
source string
compilerErrors int>.Dictionary Compiler errors, if any.
리턴 System.Reflection.Assembly