/[dgee]/dgee/cslib/DotGNU/XmlRpc/XmlRpcMethod.cs
ViewVC logotype

Diff of /dgee/cslib/DotGNU/XmlRpc/XmlRpcMethod.cs

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.1.2.1.2.4 by npg, Wed Jul 23 11:25:59 2003 UTC revision 1.1.2.1.2.5 by npg, Fri Jul 25 20:56:53 2003 UTC
# Line 26  using System.Collections; Line 26  using System.Collections;
26    
27  namespace DotGNU.XmlRpc  namespace DotGNU.XmlRpc
28  {  {
29    public class XmlRpcMethod    public class XmlRpcMethod : ArrayList
30    {    {
31      protected String name;  // Name of method being called      protected String name;  // Name of method being called
32      protected IList parameters = new ArrayList(); // List of parameters being passed  
       
33      public XmlRpcMethod()      public XmlRpcMethod()
34      {      {
35      }      }
# Line 50  namespace DotGNU.XmlRpc Line 49  namespace DotGNU.XmlRpc
49        }        }
50      }      }
51            
     public IList Parameters  
     {  
       get {  
         return this.parameters;  
       }  
     }  
   
52      public object Invoke()      public object Invoke()
53      {      {
54        // Ensure that we support method aliasing.  Ie the method name        // Ensure that we support method aliasing.  Ie the method name
# Line 68  namespace DotGNU.XmlRpc Line 60  namespace DotGNU.XmlRpc
60            
61      public override string ToString()      public override string ToString()
62      {      {
63        string s = String.Format( "XmlRpcMethod: name='{0}' parameter count='{1}'", name, parameters.Count );        string s = String.Format( "XmlRpcMethod: name='{0}' parameter count='{1}'", name, this.Count );
64        return s;        return s;
65      }      }
66    }    }

Legend:
Removed from v.1.1.2.1.2.4  
changed lines
  Added in v.1.1.2.1.2.5

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26