private void handleLiveKeyCreated(object sender, KeyCreatedEventArgs<DateTime> e_) { ensureKey(e_.NewKey); }
private void handleLiveKeyCreated(object sender, KeyCreatedEventArgs<DateTime> e_) { var relativeKey = new RelativeDate(m_currentRoll.Dates, e_.NewKey.ToTZfromGMT(m_currentRoll.DispTimeZone)); try { m_lock.EnterWriteLock(); m_data.EnsureKey(relativeKey); if (m_data.GetValue(relativeKey, currentIndex) == null) m_data.SetValue(relativeKey, currentIndex, new Line()); } finally { m_lock.ExitWriteLock(); } }