public static Client Configure(bool fairOrBiased)
        {
            IFightClub fightClub = fairOrBiased ? (IFightClub) new FightClubFair() : new FightClubBiasedA();
            Client     c         = new Client(fightClub);

            return(c);
        }
Exemple #2
0
 public Client(IFightClub club)
 {
     _club = club;
 }