예제 #1
0
 private static string Hash(string text)
 {
     text = text ?? "";
     //进行 Hash
     if (!IdCache.ContainsKey(text))
     {
         IdCache[text] = StringFactory.Hash(text);
     }
     return(IdCache[text]);
 }