C# 클래스 LibSBMLCSTestRunner.Compiler

the Compile class was written out of the idea to generate wrapper classes in memory at runtime and then compile them ...
파일 보기 프로젝트 열기: sys-bio/libroadrunner-deps

공개 메소드들

메소드 설명
GetAssembly ( string source ) : Assembly
GetInstance ( string source, string sClassName ) : object

the execute method takes a stringcollection of wrapper classes, compiles them and executes methods on the classes

GetInstance ( string source, string sClassName, string sLocation ) : object

the execute method takes a stringcollection of wrapper classes, compiles them and executes methods on the classes

addAssembly ( string sAssembly ) : void

adds an assembly to the assembly list ... this list will be needed to add references to that assemblies for the newly compiled class

getLastErrors ( ) : string

비공개 메소드들

메소드 설명
Compile ( CodeDomProvider provider, string source ) : Assembly

메소드 상세

GetAssembly() 공개 정적인 메소드

public static GetAssembly ( string source ) : Assembly
source string
리턴 System.Reflection.Assembly

GetInstance() 공개 정적인 메소드

the execute method takes a stringcollection of wrapper classes, compiles them and executes methods on the classes
public static GetInstance ( string source, string sClassName ) : object
source string
sClassName string
리턴 object

GetInstance() 공개 정적인 메소드

the execute method takes a stringcollection of wrapper classes, compiles them and executes methods on the classes
public static GetInstance ( string source, string sClassName, string sLocation ) : object
source string
sClassName string
sLocation string
리턴 object

addAssembly() 공개 정적인 메소드

adds an assembly to the assembly list ... this list will be needed to add references to that assemblies for the newly compiled class
public static addAssembly ( string sAssembly ) : void
sAssembly string
리턴 void

getLastErrors() 공개 정적인 메소드

public static getLastErrors ( ) : string
리턴 string