示例#1
0
 /// <summary>
 /// raises an instance of Database
 /// </summary>
 /// <param name="botFactory">the factory the database can use to raise IBots</param>
 /// <param name="humanFactory">the factory the database can use to raise IHumans</param>
 public Database(IBotFactory botFactory, IHumanFactory humanFactory)
 {
     this.BotFactory   = botFactory;
     this.HumanFactory = humanFactory;
 }
示例#2
0
 public void TestInitialize()
 {
     this.humanFactory = new HumanFactory();
     this.botFactory   = new BotFactory();
 }