Catel.Data.ModelBase.GetHashCode C# (CSharp) Method

GetHashCode() public method

Returns a hash code for this instance.
public GetHashCode ( ) : int
return int
        public override int GetHashCode()
        {
            if (!_hashCode.HasValue)
            {
                var equalityComparer = EqualityComparer;
                _hashCode = equalityComparer.GetHashCode(this);
            }

            return _hashCode.Value;
        }