예제 #1
0
        public void AddTimerTest()
        {
            TimeSlice tTimer = null; // TODO: 初始化为适当的值

            TimerThread.AddTimer(tTimer);
            Assert.Inconclusive("无法验证不返回值的方法。");
        }
예제 #2
0
 public void Start()
 {
     if (!m_Running)
     {
         m_Running = true;
         TimerThread.AddTimer(this);
     }
 }
예제 #3
0
        public void Start()
        {
            if (!m_Running)
            {
                m_Running = true;
                TimerThread.AddTimer(this);

                TimerProfile prof = GetProfile();

                if (prof != null)
                {
                    prof.Started++;
                }
            }
        }