Ejemplo n.º 1
0
 public System.Threading.Tasks.Task <BookStore.BookPurchaseServiceReference.BookPurchaseResponse> PurchaseBooksAsync(float budget, System.Collections.Generic.Dictionary <int, int> items)
 {
     BookStore.BookPurchaseServiceReference.BookPurchaseInfo inValue = new BookStore.BookPurchaseServiceReference.BookPurchaseInfo();
     inValue.budget = budget;
     inValue.items  = items;
     return(((BookStore.BookPurchaseServiceReference.IBookPurchaseService)(this)).PurchaseBooksAsync(inValue));
 }
Ejemplo n.º 2
0
 public string PurchaseBooks(float budget, System.Collections.Generic.Dictionary <int, int> items, out bool result)
 {
     BookStore.BookPurchaseServiceReference.BookPurchaseInfo inValue = new BookStore.BookPurchaseServiceReference.BookPurchaseInfo();
     inValue.budget = budget;
     inValue.items  = items;
     BookStore.BookPurchaseServiceReference.BookPurchaseResponse retVal = ((BookStore.BookPurchaseServiceReference.IBookPurchaseService)(this)).PurchaseBooks(inValue);
     result = retVal.result;
     return(retVal.response);
 }
Ejemplo n.º 3
0
 BookStore.BookPurchaseServiceReference.BookPurchaseResponse BookStore.BookPurchaseServiceReference.IBookPurchaseService.PurchaseBooks(BookStore.BookPurchaseServiceReference.BookPurchaseInfo request)
 {
     return(base.Channel.PurchaseBooks(request));
 }
Ejemplo n.º 4
0
 System.Threading.Tasks.Task <BookStore.BookPurchaseServiceReference.BookPurchaseResponse> BookStore.BookPurchaseServiceReference.IBookPurchaseService.PurchaseBooksAsync(BookStore.BookPurchaseServiceReference.BookPurchaseInfo request)
 {
     return(base.Channel.PurchaseBooksAsync(request));
 }