public override int GetHashCode() { int prime = 31; int result = 1; result = (prime * result) + ((rvKey == null) ? 0 : rvKey.GetHashCode()); result = (prime * result) + ((valueCacheKey == null) ? 0 : valueCacheKey.GetHashCode()); return(result); }
public override int GetHashCode() { var prime = 31; var result = 1; result = (prime * result) + ((_rvKey == null) ? 0 : _rvKey.GetHashCode()); result = (prime * result) + ((_valueCacheKey == null) ? 0 : _valueCacheKey.GetHashCode()); return(result); }
private int GenerateHashCode() { unchecked { int hash = 17; if (RequestCacheKey != null) { hash = hash * 92821 + RequestCacheKey.GetHashCode( ); } if (EntityIdList != null) { hash = hash * 92821 + EntityIdList.GetHashCode( ); } if (Filter != null) { hash = hash * 92821 + Filter.GetHashCode( ); } return(hash); } }