Ejemplo n.º 1
0
 public static bool TryGetByString(this HashStorage hashStorage, string str, out int id)
 {
     return(hashStorage.TryGetByHash(HashCode(str), out id));
 }
Ejemplo n.º 2
0
 public static void ReplaceById(this HashStorage hashStorage, string str, int id)
 {
     hashStorage.ReplaceById(id, HashCode(str));
 }
Ejemplo n.º 3
0
 public static bool ContainsString(this HashStorage hashStorage, string str)
 {
     return(hashStorage.ContainsHash(HashCode(str)));
 }
Ejemplo n.º 4
0
 public static void Add(this HashStorage hashStorage, string str, int id)
 {
     hashStorage.Add(HashCode(str), id);
 }