protected XbelIdentifiedItem(XbelDocument doc) : base(doc) { infos = new XbelMetadataCollection(); }
protected XbelIdentifiedItem(XbelFolder parent) : base(parent) { infos = new XbelMetadataCollection(); }
public XbelMetadataEnumerator(XbelMetadataCollection mappings) { this.temp = ((IEnumerable)(mappings)); this.baseEnumerator = temp.GetEnumerator(); }
/// <summary> /// <para> /// Initializes a new instance of <see cref='XbelMetadataCollection'/> based on another <see cref='XbelMetadataCollection'/>. /// </para> /// </summary> /// <param name='val'> /// A <see cref='XbelMetadataCollection'/> from which the contents are copied /// </param> public XbelMetadataCollection(XbelMetadataCollection val) { this.AddRange(val); }
/// <summary> /// <para> /// Adds the contents of another <see cref='XbelMetadataCollection'/> to the end of the collection. /// </para> /// </summary> /// <param name='val'> /// A <see cref='XbelMetadataCollection'/> containing the objects to add to the collection. /// </param> /// <returns> /// <para>None.</para> /// </returns> /// <seealso cref='XbelMetadataCollection.Add'/> public void AddRange(XbelMetadataCollection val) { for (int i = 0; i < val.Count; i++) { this.Add(val[i]); } }