예제 #1
0
 public IEnumerable <string> GetAllKeys()
 {
     return(data.Select(group => group.Key));
 }
예제 #2
0
 public Task <IEnumerable <string> > GetAllKeys()
 {
     return(Task.FromResult(_data.Select(x => x.Key)));
 }