コード例 #1
0
ファイル: Reference.cs プロジェクト: h9tyf/WebApplication
 public System.Threading.Tasks.Task <ServiceReference1.CreateProductResponse> CreateProductAsync(string name, string description, double price)
 {
     ServiceReference1.CreateProductRequest inValue = new ServiceReference1.CreateProductRequest();
     inValue.Body             = new ServiceReference1.CreateProductRequestBody();
     inValue.Body.name        = name;
     inValue.Body.description = description;
     inValue.Body.price       = price;
     return(((ServiceReference1.WebService1Soap)(this)).CreateProductAsync(inValue));
 }
コード例 #2
0
ファイル: Reference.cs プロジェクト: h9tyf/WebApplication
 public void CreateProduct(string name, string description, double price)
 {
     ServiceReference1.CreateProductRequest inValue = new ServiceReference1.CreateProductRequest();
     inValue.Body             = new ServiceReference1.CreateProductRequestBody();
     inValue.Body.name        = name;
     inValue.Body.description = description;
     inValue.Body.price       = price;
     ServiceReference1.CreateProductResponse retVal = ((ServiceReference1.WebService1Soap)(this)).CreateProduct(inValue);
 }
コード例 #3
0
ファイル: Reference.cs プロジェクト: h9tyf/WebApplication
 System.Threading.Tasks.Task <ServiceReference1.CreateProductResponse> ServiceReference1.WebService1Soap.CreateProductAsync(ServiceReference1.CreateProductRequest request)
 {
     return(base.Channel.CreateProductAsync(request));
 }
コード例 #4
0
ファイル: Reference.cs プロジェクト: h9tyf/WebApplication
 ServiceReference1.CreateProductResponse ServiceReference1.WebService1Soap.CreateProduct(ServiceReference1.CreateProductRequest request)
 {
     return(base.Channel.CreateProduct(request));
 }