Exemple #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="FieldLocationVisitor"/> class.
 /// </summary>
 /// <param name="fieldSegment">The field segment.</param>
 /// <param name="collector">The collector.</param>
 public FieldLocationVisitor(FieldPathSegment fieldSegment, ReadCollector collector)
     : base(collector.snapshot.MemoryAssistant)
 {
     this.fieldSegment = fieldSegment;
     this.collector    = collector;
 }
Exemple #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="IndexLocationVisitor"/> class.
 /// </summary>
 /// <param name="indexSegment">The index segment.</param>
 /// <param name="collector">The collector.</param>
 public IndexLocationVisitor(IndexPathSegment indexSegment, ReadCollector collector)
     : base(collector.snapshot.MemoryAssistant)
 {
     this.indexSegment = indexSegment;
     this.collector    = collector;
 }