Example #1
0
        //--------------------------------------------------------------------------------------------------

        public static int ObjectsCount(this JetBrains.dotMemoryUnit.Memory memory, params Type[] typeList)
        {
            return(memory.GetObjects(where => where.Type.Is(typeList)).ObjectsCount);
        }
Example #2
0
 public static int ObjectsCount <T>(this JetBrains.dotMemoryUnit.Memory memory)
 {
     return(memory.GetObjects(where => where.Type.Is <T>()).ObjectsCount);
 }
Example #3
0
        //--------------------------------------------------------------------------------------------------

        public static int ObjectsCount <T1, T2, T3, T4>(this JetBrains.dotMemoryUnit.Memory memory)
        {
            return(memory.GetObjects(where => where.Type.Is(typeof(T1), typeof(T2), typeof(T3), typeof(T4))).ObjectsCount);
        }