public static bool TryGetByString(this HashStorage hashStorage, string str, out int id) { return(hashStorage.TryGetByHash(HashCode(str), out id)); }
public static void ReplaceById(this HashStorage hashStorage, string str, int id) { hashStorage.ReplaceById(id, HashCode(str)); }
public static bool ContainsString(this HashStorage hashStorage, string str) { return(hashStorage.ContainsHash(HashCode(str))); }
public static void Add(this HashStorage hashStorage, string str, int id) { hashStorage.Add(HashCode(str), id); }