Parses the Concordion.config file and stores the results in a ConcordionConfig object
Exemple #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);
        }
        /// <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;
        }