Exemple #1
0
 public void Verifies_Each_Ion_File_Line()
 {
     while (target.Read())
     {
         this.assertions[this.target.CurrentLineNumber - 1].Invoke();
     }
 }
Exemple #2
0
        private static int ReadIonLines(IIonReader reader)
        {
            int result = 0;

            while (reader.Read())
            {
                result++;
            }

            return(result);
        }
 public void Read()
 {
     while (reader.Read())
     {
         if (reader.IsSectionHeader)
         {
             var sectionName = reader.CurrentSection;
             OnReadSection?.Invoke(this, new SectionReaderArgs {
                 SectionName = sectionName
             });
         }
     }
 }