Example #1
0
        public static void Revert()
        {
            if (!_isDeployed)
            {
                return;
            }

            RedirectionHelper.RevertRedirect(SnapDirectionOriginalMethodInfo, _snapDirectionRevertState);
            RedirectionHelper.RevertRedirect(SnapOriginalMethodInfo, _snapRevertState);

            _isDeployed = false;
        }
Example #2
0
 public static void Revert()
 {
     RedirectionHelper.RevertRedirect(_isPressedOriginal, _revertState1);
     RedirectionHelper.RevertRedirect(_isKeyUpOriginal, _revertState2);
 }
Example #3
0
 public static void Revert()
 {
     RedirectionHelper.RevertRedirect(_originalGetLengthSnapMethodInfo, _revertState);
 }