Пример #1
0
 /// <summary>
 /// The PopulateDataTypes method populates the data types
 /// section of the supplied VFX dictionary with all of the
 /// data types that are found in the XML dictionary.
 /// </summary>
 /// <param name="source">
 /// The XML dictionary to read the data types from.
 /// </param>
 /// <param name="target">
 /// The VFX dictionary to write the data types to.
 /// </param>
 private static void PopulateDataTypes(XmlDictionary source, FixDictionary target)
 {
     foreach (XmlFixDxDataType xmlDataType in source.DataTypes.Entries)
     {
         FixDxDataType fixDataType = new FixDxDataType(xmlDataType.TypeName, xmlDataType.TypeBase);
         target.DataTypes.Add(fixDataType);
     }
 }
Пример #2
0
 /// <summary>
 /// The PopulateDataTypes method populates the data types
 /// section of the supplied VFX dictionary with all of the
 /// data types that are found in the XML dictionary.
 /// </summary>
 /// <param name="source">
 /// The XML dictionary to read the data types from.
 /// </param>
 /// <param name="target">
 /// The VFX dictionary to write the data types to.
 /// </param>
 private static void PopulateDataTypes(XmlDictionary source, FixDictionary target)
 {
     foreach (XmlFixDxDataType xmlDataType in source.DataTypes.Entries)
     {
         FixDxDataType fixDataType = new FixDxDataType(xmlDataType.TypeName, xmlDataType.TypeBase);
         target.DataTypes.Add(fixDataType);
     }
 }