示例#1
0
 public LogicalContextTracker(int preContext, int postContext)
 {
     this.preContext       = preContext;
     this.postContext      = postContext;
     this.collectedContext = new SelectStringCommand.CircularBuffer <ContextEntry>((preContext + postContext) + 1);
     this.emitQueue        = new List <MatchInfo>();
 }
示例#2
0
 public DisplayContextTracker(int preContext, int postContext)
 {
     this.preContext           = preContext;
     this.postContext          = postContext;
     this.collectedPreContext  = new SelectStringCommand.CircularBuffer <string>(preContext);
     this.collectedPostContext = new List <string>(postContext);
     this.emitQueue            = new List <MatchInfo>();
     this.Reset();
 }