private static void WriteDictionaryResponse(CbClientResult <IDictionary <string, object> > response) { Console.WriteLine(" Status: {0}", (int)response.StatusCode); Console.WriteLine(" Content:"); foreach (var key in response.Response.Keys) { Console.WriteLine(" {0}: {1}", key, response.Response[key].ToString()); } Console.WriteLine(); }
private static void WriteDictionaryResponse(CbClientResult<IDictionary<string,object>> response) { Console.WriteLine(" Status: {0}", (int)response.StatusCode); Console.WriteLine(" Content:"); foreach (var key in response.Response.Keys) { Console.WriteLine(" {0}: {1}", key, response.Response[key].ToString()); } Console.WriteLine(); }
private static void WriteStringResponse(CbClientResult <string> response) { Console.WriteLine(" Status: {0}{2} Content: {1}{2}", (int)response.StatusCode, response.Response, Environment.NewLine); }
private static void WriteStringResponse(CbClientResult<string> response) { Console.WriteLine(" Status: {0}{2} Content: {1}{2}", (int)response.StatusCode, response.Response, Environment.NewLine); }