Exemple #1
0
        public void WriteResponse(ArrayList Params)
        {
            // remove this tag if exists, in case this function gets
            // calles multiple times by some guys
            RemoveTag("params");

            var elParams = RpcHelper.WriteParams(Params);

            if (elParams != null)
            {
                AddChild(elParams);
            }
        }
Exemple #2
0
        /// <summary>
        /// Write the functions call with params to this Element
        /// </summary>
        /// <param name="name"></param>
        /// <param name="Params"></param>
        public void WriteCall(string name, ArrayList Params)
        {
            MethodName = name;

            // remove this tag if exists, in case this function gets
            // calles multiple times by some guys
            RemoveTag("params");

            var elParams = RpcHelper.WriteParams(Params);

            if (elParams != null)
            {
                AddChild(elParams);
            }
        }