private static bool HasChanged(NativeObjectInfo aoi1, NativeObjectInfo aoi2)
        {
            if (aoi1.GetObject() == null && aoi2.GetObject() == null)
                return false;
            if (aoi1.GetObject() == null || aoi2.GetObject() == null)
                return true;

            return !aoi1.GetObject().Equals(aoi2.GetObject());
        }
Example #2
0
        private static bool HasChanged(NativeObjectInfo aoi1, NativeObjectInfo aoi2)
        {
            if (aoi1.GetObject() == null && aoi2.GetObject() == null)
            {
                return(false);
            }
            if (aoi1.GetObject() == null || aoi2.GetObject() == null)
            {
                return(true);
            }

            return(!aoi1.GetObject().Equals(aoi2.GetObject()));
        }
 private bool HasChanged(NativeObjectInfo aoi1
                         , NativeObjectInfo aoi2, int objectRecursionLevel
                         )
 {
     if (aoi1.GetObject() == null && aoi2.GetObject() == null)
     {
         return(false);
     }
     if (aoi1.GetObject() == null || aoi2.GetObject() == null)
     {
         return(true);
     }
     return(!aoi1.GetObject().Equals(aoi2.GetObject()));
 }