예제 #1
0
        public DelimitedRecordParser(CharReader reader, char delimiter)
        {
            this.reader    = reader;
            this.Delimiter = delimiter;

            this.context = new DelimitedParserStateCapture(this);
            this.fields  = new List <string>();
        }
예제 #2
0
 /// <summary>
 /// Update the current state.
 /// </summary>
 protected void ChangeState(DelimitedParserStateContext context)
 {
     this.parser.ChangeState(context);
 }
예제 #3
0
 public void ChangeState(DelimitedParserStateContext toContext)
 {
     this.context = toContext;
 }