C# 클래스 Microsoft.Scripting.ScriptCode

ScriptCode is an instance of compiled code that is bound to a specific LanguageContext but not a specific ScriptScope. The code can be re-executed multiple times in different scopes. Hosting API counterpart for this class is CompiledCode.
파일 보기 프로젝트 열기: jschementi/iron 1 사용 예제들

공개 메소드들

메소드 설명
CreateScope ( ) : Scope
Run ( ) : object
Run ( Scope scope ) : object

보호된 메소드들

메소드 설명
ScriptCode ( SourceUnit sourceUnit ) : System.Linq.Expressions

비공개 메소드들

메소드 설명
ToString ( ) : string

메소드 상세

CreateScope() 공개 메소드

public CreateScope ( ) : Scope
리턴 Scope

Run() 공개 메소드

public Run ( ) : object
리턴 object

Run() 공개 추상적인 메소드

public abstract Run ( Scope scope ) : object
scope Scope
리턴 object

ScriptCode() 보호된 메소드

protected ScriptCode ( SourceUnit sourceUnit ) : System.Linq.Expressions
sourceUnit SourceUnit
리턴 System.Linq.Expressions