protected void DeleteTerm(Term term, TimeBox timeBox) { _termStartAlterOffSet = default(TimeSpan); _termEndAlterOffSet = default(TimeSpan); var success = timeBox.Delete(term, false); _setTimeCallBack(term, "", success); var delete = new Func <Term, bool>(t => timeBox.Delete(t, false)); if (!_lastSteps.ContainsKey(timeBox)) { _lastSteps.Add(timeBox, delete); } }
protected internal void DeleteTerm(Term term) { if (term != null) { TimeBox.Delete(term, false); } }
protected void DeleteTerm(Term term, TimeBox timeBox) { _termStartAlterOffSet = default(TimeSpan); _termEndAlterOffSet = default(TimeSpan); var success = timeBox.Delete(term, false); _setTimeCallBack(term, "", success); var delete = new Func<Term,bool>( t => timeBox.Delete(t, false)); if (!_lastSteps.ContainsKey(timeBox)) _lastSteps.Add(timeBox, delete); }