/// <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="parentIterator">The parent iterator</param> /// <param name="cacheTree">The cache tree</param> DirCacheBuildIterator(DirCacheBuildIterator parentIterator, DirCacheTree cacheTree) : base(parentIterator, cacheTree) { if (parentIterator == null) { throw new System.ArgumentNullException("parentIterator"); } _builder = parentIterator._builder; }
/// <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="parentIterator">The parent iterator</param> /// <param name="cacheTree">The cache tree</param> DirCacheBuildIterator(DirCacheBuildIterator parentIterator, DirCacheTree cacheTree) : base(parentIterator, cacheTree) { _builder = parentIterator._builder; }
/// <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="parentIterator">The parent iterator</param> /// <param name="cacheTree">The cache tree</param> DirCacheBuildIterator(DirCacheBuildIterator parentIterator, DirCacheTree cacheTree) : base(parentIterator, cacheTree) { if (parentIterator == null) throw new System.ArgumentNullException ("parentIterator"); _builder = parentIterator._builder; }
/// <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="parentIterator">The parent iterator</param> /// <param name="cacheTree">The cache tree</param> DirCacheBuildIterator(DirCacheBuildIterator parentIterator, DirCacheTree cacheTree) : base(parentIterator, cacheTree) { _builder = parentIterator._builder; }