예제 #1
0
 private Pie ConvertToLocalPie(BethanysPieShopRemoteServices.Pie remotePie)
 {
     return(new Pie
     {
         Id = remotePie.Id,
         Description = remotePie.Description,
         ImageUrl = remotePie.ImageUrl,
         InStock = remotePie.InStock,
         PieName = remotePie.PieName,
         Price = remotePie.Price
     });
 }
예제 #2
0
 /// <remarks/>
 public void UpdatePieAsync(Pie pie)
 {
     this.UpdatePieAsync(pie, null);
 }
예제 #3
0
 /// <remarks/>
 public void AddPieAsync(Pie pie)
 {
     this.AddPieAsync(pie, null);
 }
예제 #4
0
 public void UpdatePie(Pie pie)
 {
     this.Invoke("UpdatePie", new object[] {
         pie
     });
 }
예제 #5
0
 public void AddPie(Pie pie)
 {
     this.Invoke("AddPie", new object[] {
         pie
     });
 }