Parses the Concordion.config file and stores the results in a ConcordionConfig object
Esempio n. 1
0
        /// <summary>
        /// Loads the specified config path.
        /// </summary>
        /// <param name="configPath">The config path.</param>
        public ConcordionConfig Load(string configPath)
        {
            if (File.Exists(configPath))
            {
                var parser = new ConcordionConfigParser(this);
                parser.Parse(new StreamReader(configPath));
            }

            return(this);
        }
Esempio n. 2
0
        /// <summary>
        /// Loads the specified config path.
        /// </summary>
        /// <param name="configPath">The config path.</param>
        public ConcordionConfig Load(string configPath)
        {
            if (File.Exists(configPath))
            {
                var parser = new ConcordionConfigParser(this);
                parser.Parse(new StreamReader(configPath));
            }

            return this;
        }