Class FakeBrain
A fake brain used for testing.
Inheritance
FakeBrain
      
  Implements
Inherited Members
Namespace: Microsoft.XboxStudios.BotBrain.Tests
Assembly: BotBrain.Core.Tests.dll
Syntax
public class FakeBrain : BotBrain<bool, FakeBot<FakeBotAction>, FakeBotAction>, IBotBrain<bool, FakeBot<FakeBotAction>, FakeBotAction>, IUrgeList<bool, FakeBot<FakeBotAction>, FakeBotAction>, IUrge<bool, FakeBot<FakeBotAction>, FakeBotAction>, IBotBrain, IBasedOn<IBotBrain>, IBasedOn, IEquatable<IBotBrain?>, IUrgeList, IUrge, IEquatable<IUrge?>, IHasParametersConstructors
View SourceFakeBrain(ILogger<BotBrain<bool, FakeBot<FakeBotAction>, FakeBotAction>>)
A fake brain used for testing.
Declaration
public FakeBrain(ILogger<BotBrain<bool, FakeBot<FakeBotAction>, FakeBotAction>> logger)Parameters
| Type | Name | Description | 
|---|---|---|
| ILogger<BotBrain<bool, FakeBot<FakeBotAction>, FakeBotAction>> | logger | 
Methods
View SourceCreate(IBrainSerializer)
Declaration
public static FakeBrain Create(IBrainSerializer serializer)Parameters
| Type | Name | Description | 
|---|---|---|
| IBrainSerializer | serializer | 
Returns
| Type | Description | 
|---|---|
| FakeBrain | 
Empty(IBrainSerializer, string)
Declaration
public static IBotBrain Empty(IBrainSerializer serializer, string two = "")Parameters
| Type | Name | Description | 
|---|---|---|
| IBrainSerializer | serializer | |
| string | two | 
Returns
| Type | Description | 
|---|---|
| IBotBrain |