public void StopTest() { TimeSpan delayTimeSpan = new TimeSpan(); // TODO: 初始化为适当的值 TimeSlice target = new TimeSlice(delayTimeSpan); // TODO: 初始化为适当的值 target.Stop(); Assert.Inconclusive("无法验证不返回值的方法。"); }
internal void StopSaveTimeSlice() { if (m_LockSaveTimeSlice.InLock() == true) { m_LockSaveTimeSlice.OutLock(); return; } TimeSlice tempTimeSlice = m_SaveTimeSlice; if (tempTimeSlice != null) { tempTimeSlice.Stop(); } m_SaveTimeSlice = null; m_LockSaveTimeSlice.OutLock(); }
internal void StopCheckAllAliveTime() { if (m_LockCheckAlive.InLock() == true) { m_LockCheckAlive.OutLock(); return; } TimeSlice tempTimeSlice = m_CheckAliveTimeSlice; if (tempTimeSlice != null) { tempTimeSlice.Stop(); } m_CheckAliveTimeSlice = null; m_LockCheckAlive.OutLock(); }
/// <summary> /// 地图点不激活 /// </summary> public virtual void OnSpaceNodeDeactivate() { m_SpaceNodeActivateTimeSlice.Stop(); }