田工版本初次提交
This commit is contained in:
20
MySOAP/ICalculatorService.cs
Normal file
20
MySOAP/ICalculatorService.cs
Normal file
@@ -0,0 +1,20 @@
|
||||
using System.ServiceModel;
|
||||
|
||||
namespace MySOAP
|
||||
{
|
||||
[ServiceContract]
|
||||
public interface ICalculatorService
|
||||
{
|
||||
[OperationContract]
|
||||
double Add(double a, double b);
|
||||
|
||||
[OperationContract]
|
||||
double Subtract(double a, double b);
|
||||
|
||||
[OperationContract]
|
||||
double Multiply(double a, double b);
|
||||
|
||||
[OperationContract]
|
||||
double Divide(double a, double b);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user