示例#1
0
文件: WMap.cs 项目: giosil/NetJsonRpc
        public long GetLong(string key, long defValue)
        {
            if (map.ContainsKey(key))
            {
                return(WUtil.ToLong(map[key]));
            }

            return(defValue);
        }
示例#2
0
文件: WMap.cs 项目: giosil/NetJsonRpc
        public long GetLong(string key)
        {
            if (map.ContainsKey(key))
            {
                return(WUtil.ToLong(map[key]));
            }

            return(0L);
        }
示例#3
0
 public long GetLong(int index, long defValue)
 {
     return WUtil.ToLong(list[index], defValue);
 }
示例#4
0
 public long GetLong(int index)
 {
     return WUtil.ToLong(list[index]);
 }