DPB1Class · Utilities and settings

ActionHelper

Provides action helper data and the operations listed below. Related types link to the values this API consumes or returns.

Namespace: DreamPoeBot.Framework.Helpers

public static class ActionHelper

Members and overloads

5 results

SafeInvoke

MethodLink ↗
public static void ActionHelper.SafeInvoke(Action action)

Executes the safe invoke operation with the supplied arguments.

actionAction
Specifies action.

SafeInvoke

MethodLink ↗
public static void ActionHelper.SafeInvoke<T>(Action<T> action, T parameter)

Executes the safe invoke operation with the supplied arguments.

actionAction<T>
Specifies action.
parameterT
Specifies parameter.

SafeInvoke

MethodLink ↗
public static void ActionHelper.SafeInvoke<T1, T2, T3>(Action<T1, T2, T3> action, T1 parameter1, T2 parameter2, T3 parameter3)

Executes the safe invoke operation with the supplied arguments.

actionAction<T1, T2, T3>
Specifies action.
parameter1T1
Specifies parameter1.
parameter2T2
Specifies parameter2.
parameter3T3
Specifies parameter3.

ThrowIf

MethodLink ↗
public static void ActionHelper.ThrowIf<TException>(bool condition) where TException : Exception, new()

Executes the throw if operation with the supplied arguments.

conditionbool
Specifies condition.

TryInvoke

MethodLink ↗
public static bool ActionHelper.TryInvoke(Action action)

Attempts to invoke using the supplied arguments.

actionAction
Specifies action.

Returns: True when the request succeeds; read any out parameters only after checking the result.

DPB1 0.3.29.47 · Reference reviewed 2026-10-02. Descriptions use source summaries where available, otherwise concise signature-based descriptions. Examples illustrate usage; they are not a live-game test.