/// <summary> /// Initializes a new instance of the <see cref="CartContent"/> class. /// </summary> /// <param name="Info">The info header associated to the cart.</param> public CartContent(CartInfo info) { this.Info = info ?? throw new ArgumentNullException(nameof(info)); }
/// <summary> /// Initializes a new instance of the <see cref="CartsCollectionEntry"/> class. /// </summary> /// <param name="info">The info header.</param> /// <param name="cart">The cart object.</param> public CartsCollectionEntry(CartInfo info, ICart cart) { this.Info = info ?? throw new ArgumentNullException(nameof(info)); this.Cart = cart ?? throw new ArgumentNullException(nameof(cart)); }