Beispiel #1
0
        public string GetResult()
        {
            var configFilename = Arguments[Constants.ArgumentNameConfigFilename];
            var configKeyname  = Arguments[Constants.ArgumentNameKey];

            return(AppConfigUtility.GetAppSetting(configFilename, configKeyname));
        }
        public override void Run()
        {
            var configFilename = Arguments[Constants.ArgumentNameConfigFilename];
            var configKeyname  = Arguments[Constants.ArgumentNameKey];
            var configValue    = Arguments[Constants.ArgumentNameValue];

            AppConfigUtility.SetAppSetting(configFilename, configKeyname, configValue);
        }