Table of Contents

IsNotModifiedStatusCode Method

Definition

IsNotModifiedStatusCode(IDecorator<int>)

Determines whether the enclosed int of the decorator equals a 304 Not Modified.

public static bool IsNotModifiedStatusCode(this IDecorator<int> decorator)

Parameters

decorator IDecorator<int>

The IDecorator<T> to extend.

Returns

bool

true if the enclosed int of the decorator is NotModified (304); otherwise, false.

Exceptions

ArgumentNullException

decorator cannot be null.