Table of Contents

IsRedirectionStatusCode Method

Definition

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

decorator IDecorator<int>

The IDecorator<T> to extend.

Returns

bool

true if the enclosed int of the decorator was in the Redirection range (300-399); otherwise, false.

Exceptions

ArgumentNullException

decorator cannot be null.