public override int GetHashCode()
 {
     unchecked
     {
         var hashCode = FiscalSetupId.GetHashCode();
         hashCode = (hashCode * 397) ^ ArticleId.GetHashCode();
         hashCode = (hashCode * 397) ^ ArticleVariantId.GetHashCode();
         return(hashCode);
     }
 }
Esempio n. 2
0
        public override int GetHashCode()
        {
            var toReturn =
                ArticleId.GetHashCode() ^
                NewsletterId.GetHashCode() ^
                ArticleSequence.GetHashCode() ^
                ImageFileLocation.GetHashCode() ^
                ArticleType.GetHashCode() ^
                ArticleTableOfContentsText.GetHashCode() ^
                ArticleTitle.GetHashCode() ^
                ArticleText.GetHashCode();

            return(toReturn);
        }
Esempio n. 3
0
 public override int GetHashCode()
 {
     return(ArticleId.GetHashCode());
 }
        public override int GetHashCode()
        {
            int hashArticleId = ArticleId == null ? 0 : ArticleId.GetHashCode();

            return(hashArticleId);
        }