Ejemplo n.º 1
0
 public static void print(IEnumerable <Kanji> kanjis)
 {
     foreach (var kanji in kanjis)
     {
         KanjiPrinter.print(kanji);
     }
 }
Ejemplo n.º 2
0
 public static void print(KanjiResponse kanjiResponse)
 {
     if (kanjiResponse.user_information != null && kanjiResponse.requested_information != null)
     {
         UserInfoPrinter.print(kanjiResponse.user_information);
         KanjiPrinter.print(kanjiResponse.requested_information);
     }
     else
     {
         Console.WriteLine(kanjiResponse.httpResponse.ToString());
     }
 }