C# Class V8.Net.V8Function

Represents a basic JavaScript function object. By default, this object is used for the global environment.
Inheritance: V8NativeObject, IV8Function
Datei anzeigen Open project: rjamesnw/v8dotnet

Public Methods

Method Description
Call ( InternalHandle _this ) : InternalHandle

Calls the native side to invoke the function associated with this managed function wrapper. The '_this' property is the "this" object within the function when called.

Note: This method simply calls 'Handle.Call()' without a function name.

Call ( string functionName, InternalHandle _this ) : InternalHandle

If the function object has a function property in itself (usually considered a static property in theory), you can use this to invoke it.

StaticCall ( ) : InternalHandle

Calls the native side to invoke the function associated with this managed function wrapper.

Note: This method simply calls 'Handle.Call()' without a function name.

V8Function ( ) : System.Dynamic
V8Function ( IV8Function proxy ) : System.Dynamic

Method Details

Call() public method

Calls the native side to invoke the function associated with this managed function wrapper. The '_this' property is the "this" object within the function when called.

Note: This method simply calls 'Handle.Call()' without a function name.

public Call ( InternalHandle _this ) : InternalHandle
_this InternalHandle
return InternalHandle

Call() public method

If the function object has a function property in itself (usually considered a static property in theory), you can use this to invoke it.
public Call ( string functionName, InternalHandle _this ) : InternalHandle
functionName string
_this InternalHandle
return InternalHandle

StaticCall() public method

Calls the native side to invoke the function associated with this managed function wrapper.

Note: This method simply calls 'Handle.Call()' without a function name.

public StaticCall ( ) : InternalHandle
return InternalHandle

V8Function() public method

public V8Function ( ) : System.Dynamic
return System.Dynamic

V8Function() public method

public V8Function ( IV8Function proxy ) : System.Dynamic
proxy IV8Function
return System.Dynamic