Class LaunchGameAction
A test action that launches a game application.
Implements
Inherited Members
Namespace: Microsoft.XboxStudios.BotBrain.Samples.ClassBased
Assembly: BotBrain.Samples.dll
Syntax
public class LaunchGameAction : TestAction, ICancellableOperation<TestAutomatedBot>, IOperation<TestAutomatedBot>, ICancellableOperation, IOperation, IHasParameters, IEquatable<TestAction>Properties
View SourceApplicationName
Gets or sets the application to launch.
Declaration
public string ApplicationName { get; set; }Property Value
| Type | Description | 
|---|---|
| string | 
LaunchArguments
Gets or sets the launch configuration.
Declaration
public string LaunchArguments { get; set; }Property Value
| Type | Description | 
|---|---|
| string | 
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. |