Table of Contents

Method Assert

Namespace
Gamelogic.Extensions
Assembly
Gamelogic.Extensions.dll

Assert(bool, string, Object)

Check whether the condition is true, and print an error message if it is not.

[Version(1, 2, 0)]
[Conditional("DEBUG")]
public static void Assert(bool condition, string message, Object context = null)

Parameters

condition bool
message string
context Object