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