Class TestPhoenixAction
A bot action defined in a separate project than the bot itself.
Implements
Inherited Members
Namespace: Phoenix.TestBot
Assembly: Phoenix.Plugin.TestBot.dll
Syntax
public class TestPhoenixAction : TestAction, ICancellableOperation<TestAutomatedBot>, IOperation<TestAutomatedBot>, ICancellableOperation, IOperation, IHasParameters, IEquatable<TestAction>
Methods
View SourceExecuteOn(TestAutomatedBot, CancellationToken)
Runs the operation on an item.
Declaration
protected override Task<bool> ExecuteOn(TestAutomatedBot item, CancellationToken token)
Parameters
Type | Name | Description |
---|---|---|
TestAutomatedBot | item | The item. |
CancellationToken | token | A token to monitor for cancellation. |
Returns
Type | Description |
---|---|
Task<bool> | A task that returns a boolean indicating success or failure when the operation completes. |