internal virtual void GetPropertyEnumerator(ArrayList enums, ArrayList objects) { MemberInfo[] members = this.GetMembers(BindingFlags.Instance | BindingFlags.Public); if (members.Length > 0) { enums.Add(members.GetEnumerator()); objects.Add(this); } ScriptObject parent = this.GetParent(); if (parent != null) { parent.GetPropertyEnumerator(enums, objects); } }
internal override void GetPropertyEnumerator(ArrayList enums, ArrayList objects) { FieldInfo[] fields = this.GetFields(BindingFlags.Instance | BindingFlags.Static | BindingFlags.Public); if (fields.Length > 0) { enums.Add(fields.GetEnumerator()); objects.Add(this); } ScriptObject parent = this.GetParent(); if (parent != null) { parent.GetPropertyEnumerator(enums, objects); } }
internal ScriptObjectPropertyEnumerator(ScriptObject obj) { obj.GetPropertyEnumerator(this.enumerators = new ArrayList(), this.objects = new ArrayList()); this.index = 0; this.visited_names = new SimpleHashtable(16); }
internal ScriptObjectPropertyEnumerator(ScriptObject obj){ obj.GetPropertyEnumerator(this.enumerators = new ArrayList(), this.objects = new ArrayList()); this.index = 0; this.visited_names = new SimpleHashtable(16); }