[jayrock] push by azizatif - Fixes issue #48 on 2012-10-10 16:21 GMT

3 views
Skip to first unread message

jay...@googlecode.com

unread,
Oct 10, 2012, 12:21:57 PM10/10/12
to jayrock...@googlegroups.com
Revision: 772e8284e1e3
Branch: default
Author: azizatif
Date: Wed Oct 10 09:20:33 2012
Log: Fixes issue #48
http://code.google.com/p/jayrock/source/detail?r=772e8284e1e3

Modified:
/samples/JsonRpcClientDemo/Program.cs

=======================================
--- /samples/JsonRpcClientDemo/Program.cs Fri Apr 15 16:09:54 2011
+++ /samples/JsonRpcClientDemo/Program.cs Wed Oct 10 09:20:33 2012
@@ -48,8 +48,8 @@
Console.WriteLine(string.Join(Environment.NewLine, (string[])
(new ArrayList((ICollection)
client.Invoke("system.listMethods"))).ToArray(typeof(string))));
Console.WriteLine(client.Invoke("now"));

Console.WriteLine(((DateTime)client.Invoke(typeof(DateTime), "now")).ToString("r"));
- Console.WriteLine(client.InvokeVargs("sum", 123, 456));
- Console.WriteLine(client.Invoke("sum", new JsonObject { { "a",
123 }, { "b", 456 } }));
+ Console.WriteLine(client.InvokeVargs("add", 123, 456));
+ Console.WriteLine(client.Invoke("add", new JsonObject { { "a",
123 }, { "b", 456 } }));
Console.WriteLine(client.InvokeVargs("total", new[] { 1, 2, 3,
4, 5, 6, 7, 8, 9 }));
client.CookieContainer = new CookieContainer();
Console.WriteLine(client.Invoke("counter"));
Reply all
Reply to author
Forward
0 new messages