示例#1
0
 /// <summary>
 /// Initializes the container and finds the first stream.
 /// </summary>
 /// <returns><c>True</c> if a valid logical stream is found, otherwise <c>False</c>.</returns>
 public bool Init()
 {
     _stream.TakeLock();
     try
     {
         return(GatherNextPage() != -1);
     }
     finally
     {
         _stream.ReleaseLock();
     }
 }