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