Пример #1
0
    public static string getReduce(string key)
    {
        MapReduceTable t = ResMgr.getInstance().getTable <MapReduceTable>("map_reduce.csv");

        if (t != null)
        {
            MapReduceItem item = t.getItem(key);
            if (item != null)
            {
                return(item.m_reduce);
            }
        }
        return("");
    }