MCPcopy Create free account
hub / github.com/FlaxEngine/FlaxEngine / GetMembers

Method GetMembers

Source/Editor/Utilities/ObjectSnapshot.cs:209–219  ·  view source on GitHub ↗
(object instance, ScriptType type, out List<object> values)

Source from the content-addressed store, hash-verified

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.

Callers 1

ReflectiveCompareMethod · 0.45

Calls 1

PushMethod · 0.45

Tested by

no test coverage detected