Table of Contents

IsDebugBuild Method

Definition

IsDebugBuild(IDecorator<Assembly>)

Determines whether the underlying Assembly of the decorator is a debug build.

public static bool IsDebugBuild(this IDecorator<Assembly> decorator)

Parameters

decorator IDecorator<Assembly>

The IDecorator<T> to extend.

Returns

bool

true if the underlying Assembly of the decorator is a debug build; otherwise, false.

Exceptions

ArgumentNullException

decorator cannot be null.