예제 #1
0
 public T GetLastDocument <T>() where T : hOOt.Document
 {
     if (!_isAlive)
     {
         return(default(T));
     }
     UpdateLastUsedToken();
     if (_hoot.DocumentCount <= 0)
     {
         return(default(T));
     }
     return(_hoot.FindDocumentByNumber <T>(_hoot.DocumentCount - 1));
 }