Table of Contents

Method CallIf

Namespace
Alternet.UI
Assembly
Alternet.UI.Interfaces.dll

CallIf(bool, Action)

Calls the specified action if condition is true.

public static void CallIf(bool condition, Action actionToCall)

Parameters

condition bool

Condition to check.

actionToCall Action

Action to call.