public static void ActionHelper.SafeInvoke(Action action)
Executes the safe invoke operation with the supplied arguments.
actionAction- Specifies action.
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 ActionHelperpublic static void ActionHelper.SafeInvoke(Action action)
Executes the safe invoke operation with the supplied arguments.
actionActionpublic static void ActionHelper.SafeInvoke<T>(Action<T> action, T parameter)
Executes the safe invoke operation with the supplied arguments.
actionAction<T>parameterTpublic 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>parameter1T1parameter2T2parameter3T3public static void ActionHelper.ThrowIf<TException>(bool condition) where TException : Exception, new()
Executes the throw if operation with the supplied arguments.
conditionboolpublic static bool ActionHelper.TryInvoke(Action action)
Attempts to invoke using the supplied arguments.
actionActionReturns: 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.