protected float GetItem_Float(Dictionary <string, string> hashValue, string strItem) { string strValue; if (true == hashValue.TryGetValue(strItem, out strValue)) { return(GValueParse.FloatParse(strValue)); } return(0f); }
protected System.UInt32 GetItem_UInt32(Dictionary <string, string> hashValue, string strItem) { string strValue; if (true == hashValue.TryGetValue(strItem, out strValue)) { return(GValueParse.UInt32Parse(strValue)); } return(0); }
protected int GetItem_Int(Dictionary <string, string> hashValue, string strItem) { string strValue; if (true == hashValue.TryGetValue(strItem, out strValue)) { return(GValueParse.IntParse(strValue)); } return(0); }
static public void ConvertStr2Obj(Dictionary <int, GCryptValue <int> > hashList, string strData) { // 문자 -> 오브젝트로 변환. string[] strItem = strData.Split('@'); hashList.Clear(); for (int i = 0; i < strItem.Length; ++i) { string[] strValue = strItem[i].Split('|'); hashList.Add(GValueParse.IntParse(strValue[0]), new GCryptValue <int>(GValueParse.IntParse(strValue[1]))); } }