Show / Hide Table of Contents

Class FakeBot<T>

A fake bot used for testing.

Inheritance
object
EventPublisher<BotActionEventArgs>
BotWithEvents<T>
FakeBot<T>
Implements
IEventPublisher<BotActionEventArgs>
IBotWithEvents<T>
IBotWithEvents
IAutomatedBot<T>
IAutomatedBot
IHasParameters
Inherited Members
BotWithEvents<T>.ActionStarted
BotWithEvents<T>.ActionFailed
BotWithEvents<T>.ActionFinished
BotWithEvents<T>.Name
BotWithEvents<T>.CurrentAction
BotWithEvents<T>.IsRunning
BotWithEvents<T>.CurrentUrge
BotWithEvents<T>.Parameters
BotWithEvents<T>.ToString()
BotWithEvents<T>.Start()
BotWithEvents<T>.Stop()
BotWithEvents<T>.Reset()
BotWithEvents<T>.OnActionStarted()
BotWithEvents<T>.OnActionFinished(T)
BotWithEvents<T>.OnActionFailed(T, Exception)
EventPublisher<BotActionEventArgs>.Publish(object, BotActionEventArgs)
EventPublisher<BotActionEventArgs>.EventReceived
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
Namespace: Microsoft.XboxStudios.BotBrain.Tests
Assembly: BotBrain.Core.Tests.dll
Syntax
public class FakeBot<T> : BotWithEvents<T>, IEventPublisher<BotActionEventArgs>, IBotWithEvents<T>, IBotWithEvents, IAutomatedBot<T>, IAutomatedBot, IHasParameters where T : class
Type Parameters
Name Description
T

The action type.

Implements

Microsoft.XboxStudios.GameStateTracker.Events.IEventPublisher<T>
IBotWithEvents<TAction>
IBotWithEvents
IAutomatedBot<TAction>
IAutomatedBot
IHasParameters

Extension Methods

IEventPublisherExtensions.WaitForAsync<T>(IEventPublisher<T>, Func<T, bool>?, CancellationToken)
  • View Source
In this article
Back to top Generated by DocFX