C# Class Jurassic.Library.ClrFunction

Inheritance: FunctionInstance
Afficher le fichier Open project: paulbartrum/jurassic Class Usage Examples

Méthodes publiques

Méthode Description
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.

Méthodes protégées

Méthode Description
ClrFunction ( ObjectInstance prototype, string name, ObjectInstance instancePrototype ) : System

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

Private Methods

Méthode Description
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.

Method Details

CallLateBound() public méthode

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.
Résultat object

ClrFunction() protected méthode

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
Résultat System

ConstructLateBound() public méthode

Creates an object, using this function as the constructor.
public ConstructLateBound ( ) : ObjectInstance
Résultat ObjectInstance