Esempio n. 1
0
 /// <summary>
 /// Finds the next new stream in the container.
 /// </summary>
 /// <returns><c>True</c> if a new stream was found, otherwise <c>False</c>.</returns>
 public bool FindNextStream()
 {
     _reader.Lock();
     try
     {
         _foundStream = false;
         while (_reader.ReadNextPage())
         {
             if (_foundStream)
             {
                 return(true);
             }
         }
         return(false);
     }
     finally
     {
         _reader.Release();
     }
 }