(object instance, ScriptType type, out List<object> values)
| 207 | } |
| 208 | |
| 209 | private static List<TypeEntry> GetMembers(object instance, ScriptType type, out List<object> values) |
| 210 | { |
| 211 | values = new List<object>(); |
| 212 | var result = new List<TypeEntry>(); |
| 213 | var membersPath = new Stack<MemberInfoPath.Entry>(8); |
| 214 | var refsStack = new Stack<object>(8); |
| 215 | |
| 216 | refsStack.Push(instance); |
| 217 | GetEntries(instance, membersPath, type, result, values, refsStack); |
| 218 | return result; |
| 219 | } |
| 220 | |
| 221 | /// <summary> |
| 222 | /// Captures the snapshot of the object. |