C# 클래스 Jurassic.Library.ClrFunction

상속: FunctionInstance
파일 보기 프로젝트 열기: paulbartrum/jurassic 1 사용 예제들

공개 메소드들

메소드 설명
CallLateBound ( object thisObject ) : object

Calls this function, passing in the given "this" value and zero or more arguments.

ConstructLateBound ( ) : ObjectInstance

Creates an object, using this function as the constructor.

보호된 메소드들

메소드 설명
ClrFunction ( ObjectInstance prototype, string name, ObjectInstance instancePrototype ) : System

Creates a new instance of a built-in constructor function.

비공개 메소드들

메소드 설명
ClrFunction ( ObjectInstance prototype, Binder binder ) : System

Creates a new instance of a function which calls the given binder.

ClrFunction ( ObjectInstance prototype, Delegate delegateToCall, string name = null, int length = -1 ) : System

Creates a new instance of a function which calls the given delegate.

ClrFunction ( ObjectInstance prototype, IEnumerable methods, string name = null, int length = -1 ) : System

Creates a new instance of a function which calls one or more provided methods.

메소드 상세

CallLateBound() 공개 메소드

Calls this function, passing in the given "this" value and zero or more arguments.
public CallLateBound ( object thisObject ) : object
thisObject object The value of the "this" keyword within the function.
리턴 object

ClrFunction() 보호된 메소드

Creates a new instance of a built-in constructor function.
protected ClrFunction ( ObjectInstance prototype, string name, ObjectInstance instancePrototype ) : System
prototype ObjectInstance The next object in the prototype chain.
name string The name of the function.
instancePrototype ObjectInstance
리턴 System

ConstructLateBound() 공개 메소드

Creates an object, using this function as the constructor.
public ConstructLateBound ( ) : ObjectInstance
리턴 ObjectInstance