CSharpRoboticsLib.FlowControl.WaitByCallCount.WaitByCallCount C# (CSharp) Method

WaitByCallCount() public method

New instance of WaitByCallCount
public WaitByCallCount ( int count ) : System
count int the threshold after which it should return true
return System
        public WaitByCallCount(int count)
        {
            if (count < 1)
                throw new ArgumentException($"Call Count to wait ({count}) less than one");
            Threshold = count;
            m_count = 0;
        }