/// <summary> /// /// </summary> /// <param name="str"></param> /// <returns></returns> public DataMap GetValueMapAll(string str) { var items = hiddenData.Where(t => t.Key.StartsWith(str) || t.Key.EndsWith(str)); foreach (var item in items) { var map = new DataMap(); map.Deserialize(item.Value, 0, item.Value.Length); return(map); } return(null); }
/// <summary> /// /// </summary> /// <param name="str"></param> /// <returns></returns> public DataMap GetEndValueMap(string str) { foreach (var item in hiddenData) { if (item.Key.EndsWith(str)) { var end = new DataMap(); end.Deserialize(item.Value, 0, item.Value.Length); return(end); } } return(null); }
/// <summary> /// /// </summary> /// <param name="string_0"></param> /// <returns></returns> public DataMap GetValueMap(string string_0) { try { string_0 = string_0.ToLower(); if (!hiddenData.ContainsKey(string_0)) { return(null); } var dataMaps = new DataMap(); dataMaps.Deserialize(hiddenData[string_0], 0, hiddenData[string_0].Length); return(dataMaps); } catch { return(null); } }