public XMLConfig() { this.name = string.Empty; this.value = string.Empty; this.att = string.Empty; this.lst = new XMLConfigs(); }
/// <summary> /// <para> /// Adds the contents of another <see cref='XMLConfig'/> to the end of the collection. /// </para> /// </summary> /// <param name='value'> /// A <see cref='XMLConfig'/> containing the objects to add to the collection. /// </param> /// <returns> /// <para>None.</para> /// </returns> /// <seealso cref='XMLConfigs.Add'/> public void AddRange(XMLConfigs value) { for (int i = 0; i < value.Count; i++) { this.Add(value[i]); } if (OnItemsAdd != null) { OnItemsAdd(this, new XMLConfigArgs(value)); } if (OnItemsChanged != null) { OnItemsChanged(value, EventArgs.Empty); } }
public XMLConfig(string name, string link) { this.name = name; this.value = link; this.lst = new XMLConfigs(); }
/// <summary> /// <para> /// Initializes a new instance of <see cref='XMLConfig'/> based on another <see cref='XMLConfig'/>. /// </para> /// </summary> /// <param name='value'> /// A <see cref='XMLConfig'/> from which the contents are copied /// </param> public XMLConfigs(XMLConfigs value) { this.AddRange(value); }
/// Initializes with a collection of XMLConfig objects. /// Collection of data. public XMLConfigArgs(XMLConfigs ts) : this() { this.t.AddRange(ts); }
/// Default constructor. public XMLConfigArgs() { t = new XMLConfigs(); }
public XMLConfigCatalog(XMLConfigs lst) { this.lst = lst; }
public XMLConfigCatalog() { this.lst = new XMLConfigs(); }