Parent Directory | Revision Log | Patch
revision 1.2 by csmith, Sun Sep 21 10:55:47 2003 UTC | revision 1.2.2.1 by csmith, Tue Oct 28 00:33:03 2003 UTC | |
---|---|---|
# | Line 37 namespace DotGNU.XmlRpc | Line 37 namespace DotGNU.XmlRpc |
37 | ||
38 | public override string ToString() | public override string ToString() |
39 | { | { |
40 | string s = "XmlRpcResponse:\n"; | string s = "XmlRpcResponse contains:\n"; |
41 | foreach( object obj in this ) { | foreach( object obj in this ) { |
42 | s += String.Format( "Type: {0}, Value: {1}", obj.GetType(), obj ); | if( obj != null ) { |
43 | s += String.Format( "Type: {0}, Value: {1}", obj.GetType(), obj ); | |
44 | } else { | |
45 | s += String.Format( "Type: null, Value: null" ); | |
46 | } | |
47 | } | } |
48 | return s; | return s; |
49 | } | } |
|
savannah-hackers-public@gnu.org | ViewVC Help |
Powered by ViewVC 1.1.26 |