Exemple #1
0
 /// <summary>
 /// Evaluates if the current request is for an HTTP method *other* than the supplied httpMethods
 /// </summary>
 /// <param name="request"></param>
 /// <param name="httpMethods"></param>
 /// <returns></returns>
 public static bool IsNotHttpMethod(this ICurrentHttpRequest request, params string[] httpMethods)
 {
     return(!request.HttpMethodMatchesAny(httpMethods));
 }