Пример #1
0
        public RemovedFromShoppingCart(Page page, ImpressionDto impressionDto) : base(page)
        {
            if (impressionDto == null)
            {
                throw new ArgumentNullException(nameof(impressionDto));
            }
            _impressionDto = impressionDto;

            TemplateName = "_GTM-removed-from-shopping-cart.cshtml";
        }
Пример #2
0
        public AddedToShoppingCart(Page page, ImpressionDto impressionDto)
            : base(page)
        {
            if (impressionDto == null)
            {
                throw new ArgumentNullException(nameof(impressionDto));
            }
            _impressionDto = impressionDto;

            TemplateName = "_GTM-added-to-shopping-cart.cshtml";
        }
Пример #3
0
        public Impression(Page page, ImpressionDto impressionDto)
            : base(page)
        {
            if (impressionDto == null)
            {
                throw new ArgumentNullException(nameof(impressionDto));
            }

            TemplateName   = "_GTM-impression.cshtml";
            _impressionDto = impressionDto;
        }