1 Star 0 Fork 0

Feeng / wcfdemo

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
ICalculator.cs 612 Bytes
一键复制 编辑 原始数据 按行查看 历史
Feeng 提交于 2014-04-14 09:49 . Client call server interface success.
// IService.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.Text;
namespace GettingStartedLib
{
[ServiceContract(Namespace = "http://Microsoft.ServiceModel.Samples")]
public interface ICalculator
{
[OperationContract]
double Add(double n1, double n2);
[OperationContract]
double Subtract(double n1, double n2);
[OperationContract]
double Multiply(double n1, double n2);
[OperationContract]
double Divide(double n1, double n2);
}
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
C#
1
https://gitee.com/Feeng/wcfdemo.git
git@gitee.com:Feeng/wcfdemo.git
Feeng
wcfdemo
wcfdemo
master

搜索帮助

344bd9b3 5694891 D2dac590 5694891