Exemple #1
0
 private static void DoAddResultType(ObjectModel objects, XmlNode tr)
 {
     if (tr.ChildNodes.Count > 0)
     {
         foreach (XmlNode child in tr.ChildNodes)
         {
             if (child.Name == "TypeResult")
             {
                 string name = child.Attributes["name"].Value;
                 string type = child.Attributes["type"] != null ? child.Attributes["type"].Value : null;
                 objects.AddResultMapping(name, type);
             }
         }
     }
 }