C# Class Jint.Native.JsArray

Inheritance: JsObject
Afficher le fichier Open project: splhack/unity-jint Class Usage Examples

Méthodes publiques

Méthode Description
DefineOwnProperty ( string key, Descriptor d ) : void
Delete ( JsInstance key ) : void
Delete ( string index ) : void
Equals ( object obj ) : bool
GetKeys ( ) : IEnumerable
GetValues ( ) : IEnumerable
HasOwnProperty ( string key ) : bool
JsArray ( JsObject prototype ) : System
ToBoolean ( ) : bool
ToNumber ( ) : double
ToString ( ) : string
TryGetProperty ( string index, JsInstance &result ) : bool
get ( int i ) : JsInstance
join ( IGlobal global, JsInstance separator ) : JsString
put ( int i, JsInstance value ) : JsInstance
this ( JsInstance key ) : JsInstance

Overriden indexer to optimize cases when we already have a number

this ( string index ) : JsInstance

Private Methods

Méthode Description
FindKeyOrNext ( int key ) : int
FindKeyOrPrev ( int key ) : int
JsArray ( JsInstance>.SortedList data, int len, JsObject prototype ) : System
baseGetKeys ( ) : IEnumerable
baseGetValues ( ) : IEnumerable
concat ( IGlobal global, JsInstance args ) : JsArray
setLength ( int newLength ) : void

Method Details

DefineOwnProperty() public méthode

public DefineOwnProperty ( string key, Descriptor d ) : void
key string
d Descriptor
Résultat void

Delete() public méthode

public Delete ( JsInstance key ) : void
key JsInstance
Résultat void

Delete() public méthode

public Delete ( string index ) : void
index string
Résultat void

Equals() public méthode

public Equals ( object obj ) : bool
obj object
Résultat bool

GetKeys() public méthode

public GetKeys ( ) : IEnumerable
Résultat IEnumerable

GetValues() public méthode

public GetValues ( ) : IEnumerable
Résultat IEnumerable

HasOwnProperty() public méthode

public HasOwnProperty ( string key ) : bool
key string
Résultat bool

JsArray() public méthode

public JsArray ( JsObject prototype ) : System
prototype JsObject
Résultat System

ToBoolean() public méthode

public ToBoolean ( ) : bool
Résultat bool

ToNumber() public méthode

public ToNumber ( ) : double
Résultat double

ToString() public méthode

public ToString ( ) : string
Résultat string

TryGetProperty() public méthode

public TryGetProperty ( string index, JsInstance &result ) : bool
index string
result JsInstance
Résultat bool

get() public méthode

public get ( int i ) : JsInstance
i int
Résultat JsInstance

join() public méthode

public join ( IGlobal global, JsInstance separator ) : JsString
global IGlobal
separator JsInstance
Résultat JsString

put() public méthode

public put ( int i, JsInstance value ) : JsInstance
i int
value JsInstance
Résultat JsInstance

this() public méthode

Overriden indexer to optimize cases when we already have a number
public this ( JsInstance key ) : JsInstance
key JsInstance index
Résultat JsInstance

this() public méthode

public this ( string index ) : JsInstance
index string
Résultat JsInstance