[ServiceContract()]
public interface IxxxService
{
[OperationContract]
string TestStringX(string myValue);
}
[ServiceContract()]
public interface IyyyService
{
[OperationContract]
string TestStringY(string myValue);
} [ServiceContract()]
public interface IMyService:IxxxService,IyyyService
{
[OperationContract]
string TestStringX(string myValue);
}
public class TestService : MlsService............
可以同时暴露IxxxService,IyyyService和MlsService接口吗?
public interface IxxxService
{
[OperationContract]
string TestStringX(string myValue);
}
[ServiceContract()]
public interface IyyyService
{
[OperationContract]
string TestStringY(string myValue);
} [ServiceContract()]
public interface IMyService:IxxxService,IyyyService
{
[OperationContract]
string TestStringX(string myValue);
}
public class TestService : MlsService............
可以同时暴露IxxxService,IyyyService和MlsService接口吗?
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货