public void AddDate(DateTime date) { lock (m_lock) { RestDateList.Add(date.Date); } }
public void Clear() { lock (m_lock) { if (RestDateList.Count > 0) { RestDateList.Clear(); } } }
public void AddDate(DateTime date) { lock (m_lock) { RestDateList.Add(date.Date); } }
public void Clear() { lock (m_lock) { if (RestDateList.Count > 0) { RestDateList.Clear(); } } }