Exemplo n.º 1
0
        /// <summary>
        /// Method defining the actual work for a task.
        /// </summary>
        /// <param name="environment">The script execution environment.</param>
        protected override void DoExecute(IScriptExecutionEnvironment environment)
        {
            string input = environment.ReceiveInput(prompt);

            if (configurationSettingName != null)
            {
                environment.SetConfigSetting(configurationSettingName, input);
            }
        }