21 |
* |
* |
22 |
* -------------------------------------------------------------------------- |
* -------------------------------------------------------------------------- |
23 |
*/ |
*/ |
24 |
|
//using System.Reflection; |
25 |
|
using System.Collections; |
26 |
|
using System.Globalization; |
27 |
|
using System.IO; |
28 |
|
using System.Xml; |
29 |
|
|
30 |
namespace DotGNU.XmlRpc |
namespace DotGNU.XmlRpc |
31 |
{ |
{ |
32 |
using System; |
public class XmlRpcResponse : XmlRpcObject |
|
|
|
|
public class XmlRpcResponse |
|
33 |
{ |
{ |
34 |
public XmlRpcResponse() |
public XmlRpcResponse() |
35 |
{ |
{ |
|
retVal = null; |
|
36 |
} |
} |
37 |
|
|
38 |
public XmlRpcResponse(object retValue) |
public override string ToString() |
39 |
{ |
{ |
40 |
retVal = retValue; |
string s = "XmlRpcResponse:\n"; |
41 |
|
foreach( object obj in this ) { |
42 |
|
s += String.Format( "Type: {0}, Value: {1}", obj.GetType(), obj ); |
43 |
|
} |
44 |
|
return s; |
45 |
} |
} |
|
|
|
|
public Object retVal; |
|
46 |
} |
} |
47 |
} |
} |
48 |
|
|