C# 클래스 Ketarin.UserCSScript

Represents a C# script that can be compiled and executed.
파일 보기 프로젝트 열기: GitSullied/Ketarin 1 사용 예제들

Private Properties

프로퍼티 타입 설명

공개 메소드들

메소드 설명
Compile ( CompilerErrorCollection &errors ) : Assembly

Compiles the user code into an assembly.

Execute ( ApplicationJob argument ) : void
UserCSScript ( string code ) : System

Creates a new instance of a C# script with given code.

메소드 상세

Compile() 공개 메소드

Compiles the user code into an assembly.
public Compile ( CompilerErrorCollection &errors ) : Assembly
errors System.CodeDom.Compiler.CompilerErrorCollection Compiler errors if any
리턴 System.Reflection.Assembly

Execute() 공개 메소드

public Execute ( ApplicationJob argument ) : void
argument ApplicationJob
리턴 void

UserCSScript() 공개 메소드

Creates a new instance of a C# script with given code.
public UserCSScript ( string code ) : System
code string
리턴 System