comparison Demo/Linq/OverWCF/DemoService.cs @ 0:f990fcb411a9

Копия текущей версии из github
author cin
date Thu, 27 Mar 2014 21:46:09 +0400
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:f990fcb411a9
1 using System;
2 using System.Collections.Generic;
3 using System.ServiceModel;
4
5 namespace Linq.OverWCF
6 {
7 [ServiceBehavior(InstanceContextMode = InstanceContextMode.Single, ConcurrencyMode = ConcurrencyMode.Multiple)]
8 public class DemoService : IDemoService
9 {
10 public IEnumerable<string> DemoMethod(string str)
11 {
12 foreach (var ch in str)
13 {
14 yield return ch.ToString();
15 }
16 }
17 }
18 }