Example #1
0
 private void OnProductAdded(EventArgs e)
 {
     ProductAddedToCart?.Invoke(this, e);
 }
 /// <summary>
 /// IT is called inside carts (e.g. flyout cart and its attributes)
 /// </summary>
 /// <param name="sender">Component which has called the event</param>
 public void OnProductAddedToCart(IComponent sender, ProductAddedToCartEventArgs args)
 {
     ProductAddedToCart?.Invoke(sender, args);
 }