C# Класс Jurassic.Library.ClrFunction

Наследование: FunctionInstance
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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