Exemplo n.º 1
0
 public override int GetHashCode()
 {
     unchecked
     {
         var hashCode = (Breadcrumb != null ? Breadcrumb.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (ChildProperty != null ? ChildProperty.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (Value1 != null ? Value1.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (Value2 != null ? Value2.GetHashCode() : 0);
         return(hashCode);
     }
 }