返回类的接口

时间:2014-07-16 15:32:47

标签: c# wcf interface

我正在使用WCF,其方法必须返回一个类。该类在Service类中定义。但在IService中,这些类名不被识别。由于我无法在接口中定义类,如何在接口中识别这些返回类型?

这是IService:

public interface IService1
{

   [OperationContract]   Custom_Class Method1(int req);

}

如何识别Custom_Class?

谢谢!

0 个答案:

没有答案