コード例 #1
0
ファイル: Recall.cs プロジェクト: Vyacheslav-Kn/ElateService
        public bool Equals(Recall other)
        {
            if (Object.ReferenceEquals(other, null))
            {
                return(false);
            }

            if (Object.ReferenceEquals(this, other))
            {
                return(true);
            }

            return(RecallId.Equals(other.RecallId));
        }
コード例 #2
0
ファイル: Recall.cs プロジェクト: Vyacheslav-Kn/ElateService
        public override int GetHashCode()
        {
            int hashRecallId = RecallId.GetHashCode();

            return(hashRecallId);
        }