public ScriptArray GetKeys() { ScriptArray ret = Script.CreateArray(); foreach (KeyValuePair <object, ScriptObject> pair in m_listObject) { ret.Add(Script.CreateObject(pair.Key)); } return(ret); }
public ScriptArray GetValues() { ScriptArray ret = Script.CreateArray(); foreach (KeyValuePair <object, ScriptObject> pair in m_listObject) { ret.Add(pair.Value.Assign()); } return(ret); }
public ScriptArray GetKeys(Script script) { var ret = new ScriptArray(script); foreach (var pair in m_Values) { ret.Add(ScriptValue.CreateValue(pair.Key)); } return(ret); }
public ScriptArray GetValues() { var ret = new ScriptArray(m_Script); foreach (var pair in m_Objects) { ret.Add(pair.Value); } return(ret); }
public ScriptArray GetKeys() { var ret = new ScriptArray(m_Script); foreach (var pair in m_Objects) { ret.Add(ScriptValue.CreateValue(pair.Key)); } return(ret); }
public ScriptArray GetValues() { ScriptArray array = base.m_Script.CreateArray(); foreach (KeyValuePair <object, ScriptObject> pair in this.m_listObject) { array.Add(pair.Value.Assign()); } return(array); }
public ScriptArray GetKeys() { ScriptArray array = base.m_Script.CreateArray(); foreach (KeyValuePair <object, ScriptObject> pair in this.m_listObject) { array.Add(base.m_Script.CreateObject(pair.Key)); } return(array); }