Пример #1
0
 public static void print(IEnumerable <Radical> radicals)
 {
     foreach (var radical in radicals)
     {
         RadicalsPrinter.print(radical);
     }
 }
 public static void print(RadicalsResponse radicalsResponse)
 {
     if (radicalsResponse.user_information != null && radicalsResponse.requested_information != null)
     {
         UserInfoPrinter.print(radicalsResponse.user_information);
         RadicalsPrinter.print(radicalsResponse.requested_information);
     }
     else
     {
         Console.WriteLine(radicalsResponse.httpResponse.ToString());
     }
 }