Пример #1
0
 /// <summary>
 /// Serves as a hash function for a particular type.
 /// </summary>
 /// <returns>
 /// A hash code for the current <see cref="T:System.Object"/>.
 /// </returns>
 /// <filterpriority>2</filterpriority>
 public override int GetHashCode()
 {
     unchecked
     {
         int result = (!Title.IsNull() ? Title.GetHashCode() : 0);
         result = (result * 397) ^ (!PlainText.IsNull() ? PlainText.GetHashCode() : 0);
         result = (result * 397) ^ (!Image.IsNull() ? Image.GetHashCode() : 0);
         return(result);
     }
 }