Show / Hide Table of Contents

Class OvermindAction

Represents a bot action which runs within the overmind.

Inheritance
object
CancellableOperationBase<OvermindBot>
OvermindAction
OvermindActionCompound
OvermindActionDelegate
Implements
ICancellableOperation<OvermindBot>
IOperation<OvermindBot>
ICancellableOperation
IOperation
Inherited Members
CancellableOperationBase<OvermindBot>.ExecutionStateChanged
CancellableOperationBase<OvermindBot>.IsRunning
CancellableOperationBase<OvermindBot>.Timeout
CancellableOperationBase<OvermindBot>.GetAwaiter(OvermindBot, CancellationToken)
CancellableOperationBase<OvermindBot>.Run(OvermindBot)
CancellableOperationBase<OvermindBot>.Run(OvermindBot, CancellationToken)
CancellableOperationBase<OvermindBot>.IsRunningOn(OvermindBot)
CancellableOperationBase<OvermindBot>.Cancel(OvermindBot)
CancellableOperationBase<OvermindBot>.Cancel(OvermindBot, bool)
CancellableOperationBase<OvermindBot>.TryCreateCancellationToken(OvermindBot, out CancellationToken)
CancellableOperationBase<OvermindBot>.ExecuteOn(OvermindBot, CancellationToken)
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
Namespace: Microsoft.XboxStudios.BotBrain.Overmind
Assembly: BotBrain.Overmind.dll
Syntax
public abstract class OvermindAction : CancellableOperationBase<OvermindBot>, ICancellableOperation<OvermindBot>, IOperation<OvermindBot>, ICancellableOperation, IOperation

Constructors

View Source

OvermindAction(string)

Initializes a new instance of the OvermindAction class.

Declaration
protected OvermindAction(string name)
Parameters
Type Name Description
string name

The action name.

Properties

View Source

Name

Gets the action name.

Declaration
public string Name { get; }
Property Value
Type Description
string
View Source

Targets

Gets an enumeration of devices to apply this action to.

Declaration
[JsonIgnore]
public abstract IEnumerable<IDevice> Targets { get; }
Property Value
Type Description
IEnumerable<IDevice>

Methods

View Source

ToString()

Returns a string that represents the current object.

Declaration
public override string ToString()
Returns
Type Description
string

A string that represents the current object.

Overrides
object.ToString()

Implements

ICancellableOperation<T>
IOperation<T>
ICancellableOperation
IOperation
  • View Source
In this article
Back to top Generated by DocFX