Table of Contents

Method DebugCallIf

Namespace
Alternet.UI
Assembly
Alternet.UI.Common.dll

DebugCallIf(bool, Action)

Calls the specified action if condition and IsDebugDefined are true.

[Conditional("DEBUG")]
public static void DebugCallIf(bool condition, Action actionToCall)

Parameters

condition bool

Condition to check.

actionToCall Action

Action to call.