C# Class Jurassic.Compiler.JSBinderMethod

Inheritance: BinderMethod
Mostrar archivo Open project: paulbartrum/jurassic Class Usage Examples

Public Methods

Method Description
GetArguments ( int argumentCount ) : IEnumerable

Gets an enumerable list of argument objects, equal in size to argumentCount.

JSBinderMethod ( MethodInfo method, JSFunctionFlags flags = JSFunctionFlags.None ) : System

Creates a new FunctionBinderMethod instance.

Protected Methods

Method Description
GetParameters ( ) : System.Reflection.ParameterInfo[]

Gets an array of method parameters.

Private Methods

Method Description
Init ( JSFunctionFlags flags ) : void

Creates a new FunctionBinderMethod instance.

Method Details

GetArguments() public method

Gets an enumerable list of argument objects, equal in size to argumentCount.
public GetArguments ( int argumentCount ) : IEnumerable
argumentCount int The number of arguments to return.
return IEnumerable

GetParameters() protected method

Gets an array of method parameters.
protected GetParameters ( ) : System.Reflection.ParameterInfo[]
return System.Reflection.ParameterInfo[]

JSBinderMethod() public method

Creates a new FunctionBinderMethod instance.
public JSBinderMethod ( MethodInfo method, JSFunctionFlags flags = JSFunctionFlags.None ) : System
method System.Reflection.MethodInfo The method to call.
flags JSFunctionFlags Flags that modify the binding process.
return System