Show / Hide Table of Contents

Class TestBotBrain

A test bot brain.

Inheritance
object
UrgeBase<bool, TestAutomatedBot, TestBotAction>
UrgeList<bool, TestAutomatedBot, TestBotAction>
BotBrain<bool, TestAutomatedBot, TestBotAction>
TestBotBrain
Implements
IBotBrain<bool, TestAutomatedBot, TestBotAction>
IUrgeList<bool, TestAutomatedBot, TestBotAction>
IUrge<bool, TestAutomatedBot, TestBotAction>
IBotBrain
IBasedOn<IBotBrain>
IBasedOn
IEquatable<IBotBrain>
IUrgeList
IUrge
IEquatable<IUrge>
IHasParameters
Inherited Members
BotBrain<bool, TestAutomatedBot, TestBotAction>.OnBotPaused
BotBrain<bool, TestAutomatedBot, TestBotAction>.OnBotStopped
BotBrain<bool, TestAutomatedBot, TestBotAction>.Bots
BotBrain<bool, TestAutomatedBot, TestBotAction>.Considerations
BotBrain<bool, TestAutomatedBot, TestBotAction>.Parameters
BotBrain<bool, TestAutomatedBot, TestBotAction>.BasedOn
BotBrain<bool, TestAutomatedBot, TestBotAction>.BasedOnObject
BotBrain<bool, TestAutomatedBot, TestBotAction>.Equals(IBotBrain)
BotBrain<bool, TestAutomatedBot, TestBotAction>.AddConsideration(IConsideration)
BotBrain<bool, TestAutomatedBot, TestBotAction>.RemoveConsideration(IConsideration)
BotBrain<bool, TestAutomatedBot, TestBotAction>.Start(TestAutomatedBot, CancellationToken, params bool[])
BotBrain<bool, TestAutomatedBot, TestBotAction>.Stop(TestAutomatedBot)
BotBrain<bool, TestAutomatedBot, TestBotAction>.Run(bool, TestAutomatedBot)
BotBrain<bool, TestAutomatedBot, TestBotAction>.Update(object, IReadOnlyCollection<IAutomatedBot>)
BotBrain<bool, TestAutomatedBot, TestBotAction>.Update(bool, IReadOnlyCollection<TestAutomatedBot>)
BotBrain<bool, TestAutomatedBot, TestBotAction>.GetBotData(TestAutomatedBot)
BotBrain<bool, TestAutomatedBot, TestBotAction>.Start(TestAutomatedBot, IReadOnlyCollection<bool>, CancellationToken)
BotBrain<bool, TestAutomatedBot, TestBotAction>.TryUpdate(bool, TestAutomatedBot)
BotBrain<bool, TestAutomatedBot, TestBotAction>.AreEqual(TestBotAction, TestBotAction)
BotBrain<bool, TestAutomatedBot, TestBotAction>.ApplyAction(TestAutomatedBot, TestBotAction)
BotBrain<bool, TestAutomatedBot, TestBotAction>.ExecuteUpdate(bool, TestAutomatedBot)
BotBrain<bool, TestAutomatedBot, TestBotAction>.Choose(bool, TestAutomatedBot, IReadOnlyList<BotBrainUrgeResult<bool, TestAutomatedBot, TestBotAction>>)
BotBrain<bool, TestAutomatedBot, TestBotAction>.CreateBotData(TestAutomatedBot, IReadOnlyCollection<bool>, CancellationToken)
BotBrain<bool, TestAutomatedBot, TestBotAction>.CreateBotData(TestAutomatedBot, BrainBotData<bool, TestAutomatedBot, TestBotAction>)
BotBrain<bool, TestAutomatedBot, TestBotAction>.PreUpdateBot(bool, TestAutomatedBot)
BotBrain<bool, TestAutomatedBot, TestBotAction>.PostUpdateBot(bool, TestAutomatedBot, TestBotAction, TestBotAction)
BotBrain<bool, TestAutomatedBot, TestBotAction>.PauseBot(TestAutomatedBot)
BotBrain<bool, TestAutomatedBot, TestBotAction>.ExclusiveUrgesFor(TestAutomatedBot, bool)
BotBrain<bool, TestAutomatedBot, TestBotAction>.ParallelUrgesFor(TestAutomatedBot, bool)
BotBrain<bool, TestAutomatedBot, TestBotAction>.Rank(bool, TestAutomatedBot, IReadOnlyCollection<UrgeResult<bool, TestAutomatedBot, TestBotAction>>)
BotBrain<bool, TestAutomatedBot, TestBotAction>.HandleConsiderationException(IConsideration<bool, TestAutomatedBot, TestBotAction>, TestAutomatedBot, Exception)
UrgeList<bool, TestAutomatedBot, TestBotAction>.Urges
UrgeList<bool, TestAutomatedBot, TestBotAction>.ExclusiveUrges
UrgeList<bool, TestAutomatedBot, TestBotAction>.ParallelUrges
UrgeList<bool, TestAutomatedBot, TestBotAction>.Equals(IUrge)
UrgeList<bool, TestAutomatedBot, TestBotAction>.AddUrge(IUrge)
UrgeList<bool, TestAutomatedBot, TestBotAction>.RemoveUrge(IUrge)
UrgeList<bool, TestAutomatedBot, TestBotAction>.RunUrges(bool, TestAutomatedBot)
UrgeList<bool, TestAutomatedBot, TestBotAction>.RunUrge(bool, TestAutomatedBot, IUrge<bool, TestAutomatedBot, TestBotAction>)
UrgeList<bool, TestAutomatedBot, TestBotAction>.HandleUrgeException(IUrge<bool, TestAutomatedBot, TestBotAction>, TestAutomatedBot, Exception)
UrgeBase<bool, TestAutomatedBot, TestBotAction>.NoUrgeName
UrgeBase<bool, TestAutomatedBot, TestBotAction>.Logger
UrgeBase<bool, TestAutomatedBot, TestBotAction>.Name
UrgeBase<bool, TestAutomatedBot, TestBotAction>.Type
UrgeBase<bool, TestAutomatedBot, TestBotAction>.IsExclusive
UrgeBase<bool, TestAutomatedBot, TestBotAction>.ToString()
UrgeBase<bool, TestAutomatedBot, TestBotAction>.Equals(object)
UrgeBase<bool, TestAutomatedBot, TestBotAction>.GetHashCode()
UrgeBase<bool, TestAutomatedBot, TestBotAction>.GetParameter<T>(TestAutomatedBot, string)
UrgeBase<bool, TestAutomatedBot, TestBotAction>.GetParameter<T>(TestAutomatedBot, IEnumerable<string>)
UrgeBase<bool, TestAutomatedBot, TestBotAction>.TryGetParameter<T>(TestAutomatedBot, IEnumerable<string>, out T)
UrgeBase<bool, TestAutomatedBot, TestBotAction>.TryGetParameter<T>(TestAutomatedBot, string, out T)
UrgeBase<bool, TestAutomatedBot, TestBotAction>.GetParameterNames(string)
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Microsoft.XboxStudios.BotBrain.Samples.EnumBased
Assembly: BotBrain.Samples.dll
Syntax
public class TestBotBrain : BotBrain<bool, TestAutomatedBot, TestBotAction>, IBotBrain<bool, TestAutomatedBot, TestBotAction>, IUrgeList<bool, TestAutomatedBot, TestBotAction>, IUrge<bool, TestAutomatedBot, TestBotAction>, IBotBrain, IBasedOn<IBotBrain>, IBasedOn, IEquatable<IBotBrain?>, IUrgeList, IUrge, IEquatable<IUrge?>, IHasParameters
Remarks

Initializes a new instance of the TestBotBrain class.

Constructors

View Source

TestBotBrain(ILogger<TestBotBrain>)

A test bot brain.

Declaration
public TestBotBrain(ILogger<TestBotBrain> logger)
Parameters
Type Name Description
ILogger<TestBotBrain> logger

The logger to use.

Remarks

Initializes a new instance of the TestBotBrain class.

Implements

IBotBrain<TState, TBot, TAction>
IUrgeList<TState, TBot, TAction>
IUrge<TState, TBot, TAction>
IBotBrain
IBasedOn<T>
IBasedOn
IEquatable<T>
IUrgeList
IUrge
IEquatable<T>
IHasParameters
  • View Source
In this article
Back to top Generated by DocFX