Exemple #1
0
        /// <summary>
        /// Initializes a new instance of the <see cref="TreeIndexCollector"/> class.
        /// </summary>
        /// <param name="snapshot">The snapshot.</param>
        public TreeIndexCollector(Snapshot snapshot)
        {
            this.Snapshot  = snapshot;
            this.Structure = snapshot.Structure.Readonly;
            this.Data      = snapshot.Data.Readonly;

            RootNode = new RootCollectorNode();

            PostProcessAliases = false;
        }
Exemple #2
0
 public CollectAliasMemoryIndexVisitor(TreeIndexCollector collector, RootCollectorNode rootNode, bool isMust)
 {
     this.rootNode  = rootNode;
     this.collector = collector;
     this.isMust    = isMust;
 }