Exemplo n.º 1
0
        internal ShoppingCart(ShoppingCartInfo originalCart, EcommerceActivityLogger activityLogger, ICurrentContactProvider currentContactProvider)
        {
            if (originalCart == null)
            {
                throw new ArgumentNullException(nameof(originalCart));
            }

            OriginalCart            = originalCart;
            mActivityLogger         = activityLogger;
            mCurrentContactProvider = currentContactProvider;
        }
Exemplo n.º 2
0
 internal ShoppingService(EcommerceActivityLogger activityLogger)
     : this()
 {
     mActivityLogger = activityLogger;
 }