Exemplo n.º 1
0
        public string Action(string actionName, string actionParameters)
        {
            string retval;
            string msg = String.Format("Action {0}, parameters {1}", actionName, actionParameters);

            try
            {
                retval = DomeManager.Action(actionName, actionParameters);
                msg   += String.Format(", returned {0}{1}", retval, _done);
            }
            catch (Exception)
            {
                msg += _failed;

                throw;
            }
            finally
            {
                LogMessage("Action:", msg);
            }

            return(retval);
        }