Beispiel #1
0
 /// <summary>
 /// Compares a <see cref="HttpVerb"/> with a <see cref="HttpMethod"/>.
 /// </summary>
 /// <param name="verb">The Http verb</param>
 /// <param name="method">The Http method</param>
 /// <returns>True, if they are equal</returns>
 public static bool IsEqualTo(this HttpVerb verb, HttpMethod method)
 {
     return(verb.ToHttpMethod() == method);
 }