Esempio n. 1
0
        /*public override IEnumerable<KeyValuePair<string, string>> FormatFields(bool show_zeroes, bool cs_enums)
         * {
         *  List<KeyValuePair<string, string>> fields = new List<KeyValuePair<string, string>>();
         *  DumpFields(format, fields, "", show_zeroes, cs_enums);
         *  return fields;
         * }*/

        //public delegate void format_fields_del(string fldname, string fldvalue);
        public override void IterFormatFields(bool cs_enums, format_fields_del del)
        {
            List <KeyValuePair <string, string> > fields = new List <KeyValuePair <string, string> >();

            DumpFields(format, fields, "", false, cs_enums);
            foreach (KeyValuePair <string, string> p in fields)
            {
                del(p.Key, p.Value);
            }
        }
Esempio n. 2
0
 public virtual void IterFormatFields(bool cs_enums, format_fields_del del)
 {
 }