public RepositoryBasketDiscountPolicy(DiscountRepository repository) { if (repository == null) { throw new ArgumentNullException("repository"); } this.repository = repository; }
public RepositoryBasketDiscountPolicyAdapter(DiscountRepository repository) { if (repository == null) { throw new ArgumentNullException("repository"); } this.repository = repository; }