C# Class Rhino.NativeIterator

Inheritance: IdScriptableObject
显示文件 Open project: hazzik/Rhino.Net Class Usage Examples

Public Methods

Method Description
ExecIdCall ( IdFunctionObject f, Context cx, Scriptable scope, Scriptable thisObj, object args ) : object
GetClassName ( ) : string
GetStopIterationObject ( Scriptable scope ) : object

Get the value of the "StopIteration" object.

Get the value of the "StopIteration" object. Note that this value is stored in the top-level scope using "associateValue" so the value can still be found even if a script overwrites or deletes the global "StopIteration" property.

Protected Methods

Method Description
FindPrototypeId ( string s ) : int
InitPrototypeId ( int id ) : void

Private Methods

Method Description
Init ( ScriptableObject scope, bool @sealed ) : void
JsConstructor ( Context cx, Scriptable scope, Scriptable thisObj, object args ) : object
NativeIterator ( ) : System

Only for constructing the prototype object.

Only for constructing the prototype object.

NativeIterator ( object objectIterator ) : System
Next ( Context cx, Scriptable scope ) : object

Method Details

ExecIdCall() public method

public ExecIdCall ( IdFunctionObject f, Context cx, Scriptable scope, Scriptable thisObj, object args ) : object
f IdFunctionObject
cx Context
scope Scriptable
thisObj Scriptable
args object
return object

FindPrototypeId() protected method

protected FindPrototypeId ( string s ) : int
s string
return int

GetClassName() public method

public GetClassName ( ) : string
return string

GetStopIterationObject() public static method

Get the value of the "StopIteration" object.
Get the value of the "StopIteration" object. Note that this value is stored in the top-level scope using "associateValue" so the value can still be found even if a script overwrites or deletes the global "StopIteration" property.
public static GetStopIterationObject ( Scriptable scope ) : object
scope Scriptable a scope whose parent chain reaches a top-level scope
return object

InitPrototypeId() protected method

protected InitPrototypeId ( int id ) : void
id int
return void