XmlRpc_Wrapper.XmlRpcServer.AddMethod C# (CSharp) Method

AddMethod() public method

public AddMethod ( XmlRpcServerMethod method ) : void
method XmlRpcServerMethod
return void
        public void AddMethod(XmlRpcServerMethod method)
        {
            _methods.Add(method.name, method);
        }

Usage Example

 public XmlRpcServerMethod(string function_name, XMLRPCFunc func, XmlRpcServer server)
 {
     name = function_name;
     this.server = server;
     //SegFault();
     FUNC = func;
     if (server != null)
         server.AddMethod(this);
 }
All Usage Examples Of XmlRpc_Wrapper.XmlRpcServer::AddMethod