Changes the key used for the PocoFactories to be a small hash

This commit is contained in:
Shannon
2014-09-26 08:35:13 +10:00
parent 23b214e4f9
commit 4084ff8a24
2 changed files with 22 additions and 1 deletions

View File

@@ -34,6 +34,12 @@ namespace Umbraco.Core
AddInt(d.GetHashCode());
}
internal void AddString(string s)
{
if (s != null)
AddInt((StringComparer.InvariantCulture).GetHashCode(s));
}
internal void AddCaseInsensitiveString(string s)
{
if (s != null)