C# 클래스 Schumix.Compiler.Sandbox

상속: System.MarshalByRefObject
파일 보기 프로젝트 열기: Schumix/Schumix2 1 사용 예제들

공개 메소드들

메소드 설명
CompileCode ( string code, string &ErrorMessage ) : Assembly
CompilerErrors ( CompilerResults results, string &ErrorMessage ) : Assembly
CreateInstance ( AppDomain &sandbox ) : Sandbox
GetSandbox ( ) : AppDomain
Sandbox ( ) : System
Sandbox ( string rAssemblies, string cOptions, int wLevel, bool tErrors ) : System
StartCode ( string Data, string MainConstructor, Abstract A, string &ErrorMessage, int &ErrorCode ) : int
TestIsFullyTrusted ( ) : void

비공개 메소드들

메소드 설명
InitCompilerParameters ( ) : CompilerParameters
IsDo ( string data ) : bool
IsFor ( string data ) : bool
IsWhile ( string data ) : bool

메소드 상세

CompileCode() 공개 메소드

public CompileCode ( string code, string &ErrorMessage ) : Assembly
code string
ErrorMessage string
리턴 System.Reflection.Assembly

CompilerErrors() 공개 메소드

public CompilerErrors ( CompilerResults results, string &ErrorMessage ) : Assembly
results System.CodeDom.Compiler.CompilerResults
ErrorMessage string
리턴 System.Reflection.Assembly

CreateInstance() 공개 정적인 메소드

public static CreateInstance ( AppDomain &sandbox ) : Sandbox
sandbox System.AppDomain
리턴 Sandbox

GetSandbox() 공개 정적인 메소드

public static GetSandbox ( ) : AppDomain
리턴 System.AppDomain

Sandbox() 공개 메소드

public Sandbox ( ) : System
리턴 System

Sandbox() 공개 메소드

public Sandbox ( string rAssemblies, string cOptions, int wLevel, bool tErrors ) : System
rAssemblies string
cOptions string
wLevel int
tErrors bool
리턴 System

StartCode() 공개 메소드

public StartCode ( string Data, string MainConstructor, Abstract A, string &ErrorMessage, int &ErrorCode ) : int
Data string
MainConstructor string
A Abstract
ErrorMessage string
ErrorCode int
리턴 int

TestIsFullyTrusted() 공개 메소드

public TestIsFullyTrusted ( ) : void
리턴 void