Пример #1
0
 // <summary>
 /// For each query in the list of queries, search for all sections by the name or value of the ReadyToRunSectionType enum
 /// </summary>
 /// <param name="r2r">Contains all the extracted info about the ReadyToRun image</param>
 /// <param name="queries">The names/values to search for</param>
 private void QuerySection(R2RReader r2r, IReadOnlyList <string> queries)
 {
     if (queries.Count > 0)
     {
         _dumper.WriteDivider("R2R Section");
     }
     foreach (string q in queries)
     {
         IList <R2RSection> res       = FindSection(r2r, q);
         XmlNode            queryNode = _dumper.DumpQueryCount(q, "Sections", res.Count);
         foreach (R2RSection section in res)
         {
             _dumper.DumpSection(section, queryNode);
         }
     }
 }