/// <summary> /// Initializes a new instance of the <see cref="LoyaltyProgramManager" /> class. /// </summary> /// <param name="loyaltyProgramServiceProvider">The loyalty program service provider.</param> /// <param name="cartManager">The cart manager.</param> public LoyaltyProgramManager([NotNull] LoyaltyCardServiceProvider loyaltyProgramServiceProvider, [NotNull] CartManager cartManager) { Assert.ArgumentNotNull(loyaltyProgramServiceProvider, "loyaltyProgramServiceProvider"); Assert.ArgumentNotNull(cartManager, "cartManager"); this.LoyaltyProgramServiceProvider = loyaltyProgramServiceProvider; this.CartManager = cartManager; }
/// <summary> /// Initializes a new instance of the <see cref="LoyaltyProgramManager" /> class. /// </summary> /// <param name="loyaltyProgramServiceProvider">The loyalty program service provider.</param> /// <param name="cartManager">The cart manager.</param> public LoyaltyProgramManager(LoyaltyCardServiceProvider loyaltyProgramServiceProvider, CartManager cartManager) { this.LoyaltyProgramServiceProvider = loyaltyProgramServiceProvider; this.CartManager = cartManager; }