Beispiel #1
0
        bool IsStable(SignStable test, int count = StableCount)
        {
            if (RecentStatus.Count < count)
            {
                return(false);
            }

            return(RecentStatus.Skip(RecentStatus.Count - count).Where(s => test(s)).Count() == count);
        }
Beispiel #2
0
        bool IsStable(SignStable test, int count = StableCount)
        {
            if (RecentStatus.Count < count)
                return false;

            return RecentStatus.Skip(RecentStatus.Count - count).Where(s => test(s)).Count() == count;
        }