Exemplo n.º 1
0
        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);
            }
        }
Exemplo n.º 2
0
 protected internal void DeleteTerm(Term term)
 {
     if (term != null)
     {
         TimeBox.Delete(term, false);
     }
 }
Exemplo n.º 3
0
        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);
        }