示例#1
0
 public void Cancel()
 {
     lock (this)
         _parent = null;
 }
示例#2
0
 /// <summary>
 /// Construtor padrão.
 /// </summary>
 /// <param name="parent"></param>
 /// <param name="interval"></param>
 internal AutoExpirationTask(ExpirationManager parent, long interval)
 {
     _parent   = parent;
     _interval = interval;
 }