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
conditionbool-
The condition.
messagestring-
The message of MaaFramework.Binding.MaaInteroperationException.
operationExpressionstring?-
The operation expression of result.