public Parse ( TextReader reader ) : void | ||
reader | TextReader | The reader. |
return | void |
/// <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; }