XmlRpc_Wrapper.XmlRpcServerMethod.Execute C# (CSharp) Метод

Execute() публичный Метод

public Execute ( XmlRpcValue parms, XmlRpcValue reseseses ) : void
parms XmlRpcValue
reseseses XmlRpcValue
Результат void
        public void Execute(XmlRpcValue parms, XmlRpcValue reseseses)
        {
            _FUNC(parms, reseseses);
        }

Usage Example

Пример #1
0
        // Execute a named method with the specified params.
        public bool executeMethod(string methodName, XmlRpcValue parms, XmlRpcValue result)
        {
            XmlRpcServerMethod method = FindMethod(methodName);

            if (method == null)
            {
                return(false);
            }

            method.Execute(parms, result);

            // Ensure a valid result value
            if (!result.Valid)
            {
                result.Set("");
            }

            return(true);
        }