public void Choose(ProductViewModel product) { var e = new ChoosedEventArgs() { Product = product }; OnChoosed(e); if (!e.Handled) { Navigator.GoToProductEditing(product.Id); } }
private void ProductListing_Choosed(object sender, ChoosedEventArgs e) { AddMealItemWithProduct(e.Product); e.Handled = true; }
protected void OnChoosed(ChoosedEventArgs e) { if (Choosed != null) { Choosed(this, e); } }