public static void logObject(object result) { if (result.GetType() == typeof(ArrayList)) { ResultLogger.logArraylist((ArrayList)result); } else if (result.GetType() == typeof(Hashtable)) { ResultLogger.logHashtable((Hashtable)result); } else { Debug.Log("result is not a hashtable or arraylist"); } }
// Token: 0x06001B9C RID: 7068 RVA: 0x0008DF24 File Offset: 0x0008C124 public static void logObject(object result) { if (result == null) { Debug.Log("attempting to log a null object"); return; } if (result.GetType() == typeof(ArrayList)) { ResultLogger.logArraylist((ArrayList)result); } else if (result.GetType() == typeof(Hashtable)) { ResultLogger.logHashtable((Hashtable)result); } else { Debug.Log("result is not a hashtable or arraylist"); } }