标签: c# wcf interface
我正在使用WCF,其方法必须返回一个类。该类在Service类中定义。但在IService中,这些类名不被识别。由于我无法在接口中定义类,如何在接口中识别这些返回类型?
这是IService:
public interface IService1 { [OperationContract] Custom_Class Method1(int req); }
如何识别Custom_Class?
谢谢!