Example #1
0
        /// <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);
        }
Example #2
0
 /// <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);
 }
Example #3
0
 /// <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); }
 }
Example #4
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="dataMap_0"></param>
 public DataMap(DataMap dataMap_0)
 {
     hiddenData = new Dictionary <string, byte[]>(dataMap_0.hiddenData);
 }