Method ThrowIfNot
- Namespace
- MaaFramework.Binding
- Assembly
- MaaFramework.Binding.dll
ThrowIfNot(bool, string, string?)
Throws a MaaFramework.Binding.MaaInteroperationException when the condition
is false.
public static void ThrowIfNot(bool condition, string message = "", string? operationExpression = null)
Parameters
condition
bool-
The condition.
message
string-
The message of MaaFramework.Binding.MaaInteroperationException.
operationExpression
string?-
The operation expression of result.