예제 #1
0
        public void KeyssWithSameContentHaveSameHashCode()
        {
            var key1 = new RedisKey("test");
            var key2 = new RedisKey("test");

            Assert.Equal(key1.GetHashCode(), key2.GetHashCode());
        }
 public override int GetHashCode()
 {
     return(RedisKey.GetHashCode());
 }