Exemple #1
0
        private ConfigValuesFile SetupValues()
        {
            ConfigValuesFile cv = new ConfigValuesFile(_valueFilePath);

            //also add values pushed to us
            foreach (KeyValuePair <string, string> val in _extraValues)
            {
                cv.Add(val.Key, val.Value);
            }

            //validate that there arent any {REQUIRE} values undefined
            cv.Validate();

            return(cv);
        }