Example #1
0
 /// <summary>
 /// Gets the hash code
 /// </summary>
 /// <returns>Returns HashCode</returns>
 public override int GetHashCode()
 {
     return(String.Format("{0}|{1}|{2}|{3}|{4}|{5}|",
                          this.Parameters.Aggregate(0, (acc, next) => acc += next.GetHashCode()),
                          Kind.GetHashCode(),
                          Url?.GetHashCode() ?? 0,
                          Method.GetHashCode(),
                          BodyFormat.GetHashCode(),
                          Async.GetHashCode()
                          ).GetHashCode());
 }