Esempio n. 1
0
 public System.Threading.Tasks.Task <RemoteLib_csharp_client.LibraryServiceReference.AddBookResponse> AddBookAsync(string title, string author, int yop)
 {
     RemoteLib_csharp_client.LibraryServiceReference.AddBookRequest inValue = new RemoteLib_csharp_client.LibraryServiceReference.AddBookRequest();
     inValue.Body        = new RemoteLib_csharp_client.LibraryServiceReference.AddBookRequestBody();
     inValue.Body.title  = title;
     inValue.Body.author = author;
     inValue.Body.yop    = yop;
     return(((RemoteLib_csharp_client.LibraryServiceReference.LibWebServiceSoap)(this)).AddBookAsync(inValue));
 }
Esempio n. 2
0
 public int AddBook(string title, string author, int yop)
 {
     RemoteLib_csharp_client.LibraryServiceReference.AddBookRequest inValue = new RemoteLib_csharp_client.LibraryServiceReference.AddBookRequest();
     inValue.Body        = new RemoteLib_csharp_client.LibraryServiceReference.AddBookRequestBody();
     inValue.Body.title  = title;
     inValue.Body.author = author;
     inValue.Body.yop    = yop;
     RemoteLib_csharp_client.LibraryServiceReference.AddBookResponse retVal = ((RemoteLib_csharp_client.LibraryServiceReference.LibWebServiceSoap)(this)).AddBook(inValue);
     return(retVal.Body.AddBookResult);
 }
Esempio n. 3
0
 System.Threading.Tasks.Task <RemoteLib_csharp_client.LibraryServiceReference.AddBookResponse> RemoteLib_csharp_client.LibraryServiceReference.LibWebServiceSoap.AddBookAsync(RemoteLib_csharp_client.LibraryServiceReference.AddBookRequest request)
 {
     return(base.Channel.AddBookAsync(request));
 }
Esempio n. 4
0
 RemoteLib_csharp_client.LibraryServiceReference.AddBookResponse RemoteLib_csharp_client.LibraryServiceReference.LibWebServiceSoap.AddBook(RemoteLib_csharp_client.LibraryServiceReference.AddBookRequest request)
 {
     return(base.Channel.AddBook(request));
 }