/// <summary>
 /// Create a new iterator for an already loaded <see cref="DirCache"/> instance.
 /// <para/>
 /// The iterator implementation may copy part of the cache's data during
 /// construction, so the cache must be Read in prior to creating the
 /// iterator.
 /// </summary>
 /// <param name="builder">
 /// The cache builder for the cache to walk. The cache must be
 /// already loaded into memory.
 /// </param>
 public DirCacheBuildIterator(DirCacheBuilder builder)
     : base(builder.getDirCache())
 {
     if (builder == null)
     {
         throw new System.ArgumentNullException("builder");
     }
     _builder = builder;
 }
예제 #2
0
 /// <summary>
 /// Create a new iterator for an already loaded <see cref="DirCache"/> instance.
 /// <para/>
 /// The iterator implementation may copy part of the cache's data during
 /// construction, so the cache must be Read in prior to creating the
 /// iterator.
 /// </summary>
 /// <param name="builder">
 /// The cache builder for the cache to walk. The cache must be
 /// already loaded into memory.
 /// </param>
 public DirCacheBuildIterator(DirCacheBuilder builder)
     : base(builder.getDirCache())
 {
     _builder = builder;
 }
예제 #3
0
		/// <summary>
		/// Create a new iterator for an already loaded <see cref="DirCache"/> instance.
		/// <para/>
		/// The iterator implementation may copy part of the cache's data during
		/// construction, so the cache must be Read in prior to creating the
		/// iterator.
		/// </summary>
		/// <param name="builder">
		/// The cache builder for the cache to walk. The cache must be
		/// already loaded into memory.
		/// </param>
        public DirCacheBuildIterator(DirCacheBuilder builder)
            : base(builder.getDirCache())
        {
			if ( builder == null)
			{
				throw new System.ArgumentNullException("builder");
			}
            _builder = builder;
        }
예제 #4
0
 /// <summary>
 /// Create a new iterator for an already loaded <see cref="DirCache"/> instance.
 /// <para/>
 /// The iterator implementation may copy part of the cache's data during
 /// construction, so the cache must be Read in prior to creating the
 /// iterator.
 /// </summary>
 /// <param name="builder">
 /// The cache builder for the cache to walk. The cache must be
 /// already loaded into memory.
 /// </param>
 public DirCacheBuildIterator(DirCacheBuilder builder)
     : base(builder.getDirCache())
 {
     _builder = builder;
 }