public Zoo(ZooOptions options, IMailer mailer) { _animals = new Dictionary <string, Animal>(); _random = new Random(); // _options = options != null ? options : new ZooOptions(); _options = options ?? new ZooOptions(); _mailer = mailer ?? new Mailer(); }
public Zoo(ZooOptions options) : this(options, null) { }