/// <summary> /// The PopulateDataTypes method populates the data types /// section of the supplied XML dictionary with all of the /// data type definitions that are in the FIX dictionary. /// </summary> /// <param name="xmlDictionary"> /// The XML dictionary to be populated. /// </param> /// <param name="fixDictionary"> /// The FIX dictionary to retrieve the data from. /// </param> private static void PopulateDataTypes(XmlDictionary xmlDictionary, FixDictionary fixDictionary) { foreach (FixDxDataType fixDataType in fixDictionary.DataTypes) { XmlFixDxDataType xmlDataType = new XmlFixDxDataType(); xmlDataType.TypeName = fixDataType.Name; xmlDataType.TypeBase = fixDataType.BaseType; xmlDictionary.DataTypes.Entries.Add(xmlDataType); } }