Пример #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="PunService"/> class.
 /// </summary>
 /// <param name="service"></param>
 public PunService(PunData.PunDataService service)
 {
     _service = service;
 }
Пример #2
0
 public PunService()
 {
     _service = new PunDataService(@"C:\inetpub\temp\temp\wcf-puns.dat");
 }
Пример #3
0
 //[WebMethod]
 //public string HelloWorld()
 //{
 //    return "Hello World";
 //}
 /// <summary>
 /// Initializes a new instance of the <see cref="PunService"/> class.
 /// </summary>
 public PunService()
 {
     _service = new PunData.PunDataService();
 }