【发布时间】:2010-04-20 12:32:50
【问题描述】:
例如,这是正确的吗?
[OperationContract]
bool IsHappy(string userID);
bool IsSad(string userID);
bool IsHungry(string userID);
这是 WCF ServiceContract 的有效操作主体还是我必须这样做:
[OperationContract]
bool IsHappy(string userID);
[OperationContract]
bool IsSad(string userID);
[OperationContract]
bool IsHungry(string userID);
【问题讨论】: