IsRedirectionStatusCode Method
Definition
- Namespace
- Cuemon.AspNetCore.Http
- Assemblies
- Cuemon.AspNetCore.dll
IsRedirectionStatusCode(IDecorator<int>)
Determines whether the enclosed int of the decorator is within the redirecting range.
public static bool IsRedirectionStatusCode(this IDecorator<int> decorator)
Parameters
decoratorIDecorator<int>The IDecorator<T> to extend.
Returns
- bool
trueif the enclosed int of thedecoratorwas in the Redirection range (300-399); otherwise,false.
Exceptions
- ArgumentNullException
decoratorcannot be null.