public void RemoveTimerTest() { TimeSlice tTimer = null; // TODO: 初始化为适当的值 TimerThread.RemoveTimer(tTimer); Assert.Inconclusive("无法验证不返回值的方法。"); }
public void Stop() { if (m_Running) { m_Running = false; TimerThread.RemoveTimer(this); } }
public void Stop() { if (m_Running) { m_Running = false; TimerThread.RemoveTimer(this); TimerProfile prof = GetProfile(); if (prof != null) { prof.Stopped++; } } }