Bloom.Command.Bouncing C# (CSharp) Method

Bouncing() private static method

Check whether the click activating this command came too quickly to be a separate command. This handles people double-clicking when they should single click (or clicking again while a command is executing that takes longer than they think it should).
private static Bouncing ( ) : bool
return bool
        private static bool Bouncing()
        {
            var now = DateTime.Now;
            var bouncing = now - _previousClickTime < _bounceWait;
            _previousClickTime = now;
            return bouncing;
        }