结构:
1 using System.ServiceModel; 2 namespace MyServices 3 { 4 [ServiceContract] 5 public interface IHomeService 6 { 7 [OperationContract] 8 int GetLength(string name); 9 } 10 }
结构:
1 using System.ServiceModel; 2 namespace MyServices 3 { 4 [ServiceContract] 5 public interface IHomeService 6 { 7 [OperationContract] 8 int GetLength(string name); 9 } 10 }
相关文章: