Ejemplo n.º 1
0
 static Total TotalByLength(TotalWordsForGivenLength query, Connection <string> connection)
 {
     return(new Total(ByLength(new GivenLength {
         Length = query.Length
     }, connection).Count()));
 }
Ejemplo n.º 2
0
 static Total TotalByLength(TotalWordsForGivenLength query, InMemoryListProvider <string> inMemoryListProvider)
 {
     return(new Total(ByLength(new WordsOfGivenLength {
         Length = query.Length
     }, inMemoryListProvider).Count()));
 }