Пример #1
0
 public override int GetHashCode()
 {
     unchecked
     {
         int hashCode = base.GetHashCode();
         hashCode = (hashCode * 397) ^ (Brand != null ? Brand.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (Copyright != null ? Copyright.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (Avatar != null ? Avatar.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (Github != null ? Github.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (Linkedin != null ? Linkedin.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (Twitter != null ? Twitter.GetHashCode() : 0);
         return(hashCode);
     }
 }