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