/// <summary> /// Add key value with option of overwriting value of existing key /// or adding to a list of values associated w/ the same key. /// </summary> /// <param name="key"></param> /// <param name="val"></param> /// <param name="overWrite"></param> public virtual void AddMulti(string key, object val, bool overWrite) { ConfigSectionUtils.Add(this, key, val, overWrite); }
/// <summary> /// Add the key value to the section specified. /// </summary> /// <param name="sectionName"></param> /// <param name="key"></param> /// <param name="val"></param> public virtual void Add(string sectionName, string key, object val, bool overWrite) { ConfigSectionUtils.Add(this, sectionName, key, val, overWrite); }
/// <summary> /// Add the key value to the section specified. /// </summary> /// <param name="sectionName"></param> /// <param name="key"></param> /// <param name="val"></param> public virtual void Add(string sectionName, string key, object val) { ConfigSectionUtils.Add(this, sectionName, key, val, false); }
/// <summary> /// Get a section associated with the specified key at the specified index. /// </summary> /// <param name="?"></param> /// <returns></returns> public IConfigSection GetSection(string sectionName, int ndx) { return(ConfigSectionUtils.Get <IConfigSection>(this, sectionName, ndx)); }