示例#1
0
 public void ReadLine()
 {
     if (this.AtEndOfStream)
     {
         return;
     }
     int Character;
     Line Line = new Line();
     this.LineQueue.Enqueue(Line);
     do
     {
         Character = base.Read();
         Line.Append(Character);
         if (Character == -1)
         {
             this.AtEndOfStream = true;
             return;
         }
     }
     while (!(this.IsEndOfLine(Character)));
 }