2 Star 2 Fork 1

Stoneson / WebServiceTest

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
IServiceTest.cs 1.07 KB
一键复制 编辑 原始数据 按行查看 历史
Stoneson 提交于 2021-03-08 09:06 . add
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.Text;
namespace WebServiceTest
{
// 注意: 使用“重构”菜单上的“重命名”命令,可以同时更改代码和配置文件中的接口名“IServiceTest”。
[ServiceContract]
public interface IServiceTest
{
[OperationContract]
void DoWork();
[OperationContract]
List<WeatherForecast> HelloWorld();
[OperationContract]
int GetInt(int a, int b);
[OperationContract]
DateTime GetDate();
[OperationContract]
WeatherForecast getBySummarie(string summarie);
[OperationContract]
string AddCar(MyCar MyCar);
[OperationContract]
string AddCar2(MyCar car1, MyCar car2);
[OperationContract]
string AddCars(List<MyCar> cars);
[OperationContract]
string AddCars2(List<MyCar> cars, MyCar car2);
[OperationContract]
string AddWeather(WeatherForecast wf);
}
}
C#
1
https://gitee.com/stoneson/web-service-test.git
git@gitee.com:stoneson/web-service-test.git
stoneson
web-service-test
WebServiceTest
master

搜索帮助