Class MaaJobStatusExtensions
- Namespace
- MaaFramework.Binding
- Assembly
- MaaFramework.Binding.dll
A static class providing extension methods for MaaFramework.Binding.MaaJobStatus.
public static class MaaJobStatusExtensions
Inheritance
Inherited Members
Methods
- IsDone(MaaJobStatus)
-
Gets a value indicates whether current job status is succeeded or failed.
- IsFailed(MaaJobStatus)
-
Gets a value indicates whether current job status is failed.
- IsPending(MaaJobStatus)
-
Gets a value indicates whether current job status is pending.
- IsRunning(MaaJobStatus)
-
Gets a value indicates whether current job status is running.
- IsSucceeded(MaaJobStatus)
-
Gets a value indicates whether current job status is succeeded.
- ThrowIf(MaaJobStatus, MaaJobStatus, string, params object?[])
-
Throws a MaaFramework.Binding.MaaJobStatusException if the
current
status is in aincorrect
status. - ThrowIfNot(MaaJobStatus, MaaJobStatus, string, params object?[])
-
Throws a MaaFramework.Binding.MaaJobStatusException if the
current
status is not in acorrect
status.