Table of Contents

IsInformationStatusCode Method

Definition

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

decorator IDecorator<int>

The IDecorator<T> to extend.

Returns

bool

true if the enclosed int of the decorator was in the Information range (100-199); otherwise, false.

Exceptions

ArgumentNullException

decorator cannot be null.