예제 #1
0
파일: WMap.cs 프로젝트: giosil/NetJsonRpc
        public int GetInt(string key, int defValue)
        {
            if (map.ContainsKey(key))
            {
                return(WUtil.ToInt(map[key]));
            }

            return(defValue);
        }
예제 #2
0
파일: WMap.cs 프로젝트: giosil/NetJsonRpc
        public int GetInt(string key)
        {
            if (map.ContainsKey(key))
            {
                return(WUtil.ToInt(map[key]));
            }

            return(0);
        }
예제 #3
0
파일: WList.cs 프로젝트: giosil/NetJsonRpc
 public int GetInt(int index, int defValue)
 {
     return WUtil.ToInt(list[index], defValue);
 }
예제 #4
0
파일: WList.cs 프로젝트: giosil/NetJsonRpc
 public int GetInt(int index)
 {
     return WUtil.ToInt(list[index]);
 }