public string parse_html_block(string key, string[,] flds) { Dictionary <string, object> dict = new Dictionary <string, object>(); for (int i = 0; i < flds.GetLength(0); i++) { dict.Add(flds[i, 0], flds[i, 1]); } config.html_block b = _config.get_html_block(key); return(parse(b.content, dict, conds: b.conds)); }
public string parse_html_block(string key, Dictionary <string, object> flds) { config.html_block b = _config.get_html_block(key); return(parse(b.content, flds, conds: b.conds)); }