public OptionObject2015 RunScript(OptionObject2015 optionObject, string parameter)
        {
            IRunScriptCommand command = CommandFactory.GetCommand(optionObject, parameter);

            if (command == null)
            {
                logger.Error("A valid RunScript command was not retrieved.");
                return(optionObject);
            }
            return(command.Execute());
        }
        public OptionObject RunScript(OptionObject optionObject, string parameterString)
        {
            IParameter        parameter = new Parameter(parameterString);
            IRunScriptCommand command   = CommandFactory.GetCommand(optionObject, parameter);

            if (command == null)
            {
                logger.Error("A valid RunScript command was not retrieved.");
                return(optionObject);
            }
            return((OptionObject)command.Execute());
        }