Beispiel #1
0
 private void WriteTables(List <TypeInfo> tableDescriptions, TableInfoFormatter <TypeInfo> formatter)
 {
     foreach (TypeInfo typeInfo in tableDescriptions)
     {
         WriteTable(typeInfo, formatter);
     }
 }
Beispiel #2
0
        void WriteTable(TypeInfo id, TableInfoFormatter <TypeInfo> format)
        {
#if DEBUG
            // Console.WriteLine ("writing table {0}", id.Name, id.Version);
#endif
            writer.WriteLine(format.FormatHeader(id));
            WriteFieldInfos(id.Fields);
            writer.WriteLine("  </table>");
            writer.Flush();
        }