private static void PrintResults(DocumentSet docs)
 {
     if (docs.GetEnumerable().Any())
     {
         foreach (var doc in docs.GetEnumerable())
         {
             Console.WriteLine(@$ "Document {doc}");
         }
     }
     else
     {
         Console.WriteLine(@$ "No document found");
     }
 }
예제 #2
0
 private static void PrintResults(DocumentSet docs)
 {
     Console.WriteLine(docs.GetEnumerable().Any()
         ? string.Join(" , ", docs.GetEnumerable())
         : $"No document found");
 }