Table of Contents

Method Assert

Namespace
Alternet.Common
Assembly
Alternet.Common.v9.dll

Assert(bool)

Checks for the condition. If the condition is false throws an exception.

[Conditional("DEBUG")]
public static void Assert(bool condition)

Parameters

condition bool

Condition to check.