예제 #1
0
        public virtual void Execute(string parameters)
        {
            Xml.XPath xpn= new Xml.XPath();
            xpn.LoadXML(parameters);

             		List<string> names = xpn.GetAttributes("/Params", "name");
             		List<string> values = xpn.GetAttributes("/Params", "value");

             		for (int i = 0; i < names.Count; i++) {
             			_paramList[names[i]] = values[i];
             		}

            _commandReceiver.Action(this);
        }
예제 #2
0
        public virtual void Execute(string parameters)
        {
            Xml.XPath xpn = new Xml.XPath();
            xpn.LoadXML(parameters);

            List <string> names  = xpn.GetAttributes("/Params", "name");
            List <string> values = xpn.GetAttributes("/Params", "value");

            for (int i = 0; i < names.Count; i++)
            {
                _paramList[names[i]] = values[i];
            }

            _commandReceiver.Action(this);
        }