Exemplo n.º 1
0
 public RestController(IProductInformation productRepository)
 {
     _productRepository = productRepository;
 }
 protected override void OnPurchaseSucceed(IProductInformation product, int quantity)
 {
     UIApplication.SharedApplication.InvokeOnMainThread(delegate
     {
         base.OnPurchaseSucceed(product, quantity);
     });
 }
Exemplo n.º 3
0
 public HomeController(IProductInformation productInformation, IHostingEnvironment iweb)
 {
     _productInformation = productInformation;
     _iweb = iweb;
 }
 protected virtual void OnPurchaseSucceed(IProductInformation product, int quantity)
 {
     if (PurchaseSucceed != null)
     {
         PurchaseSucceed(product, quantity);
     }
 }