コード例 #1
0
        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));
        }
コード例 #2
0
 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));
 }