Exemplo n.º 1
0
 public void addAgentToAuction(Agent agent)
 {
     Participants.Add(agent);
     agent.PrintToPersonalScreen($"Welcome to {auction.Item.Name}`s auction!");
     _notifier.AddAgentToNotifyList(agent);
     _notifier.AddAgentToBetList(agent);
 }
Exemplo n.º 2
0
 public void AddAgent(Agent agent)
 {
     _notifier.AddAgentToNotifyList(agent);
     _listedAgents.Add(agent);
 }