/// <summary> /// Creates a AttributeValueElementCollection, with the items contained in a AttributeValueElementReadWriteCollection /// </summary> /// <param name="items"></param> public AttributeValueElementCollection(AttributeValueElementReadWriteCollection items) { if (items == null) throw new ArgumentNullException("items"); foreach (AttributeValueElementReadWrite item in items) { this.List.Add(new AttributeValueElement(item.Contents, item.SchemaVersion)); } }
/// <summary> /// Creates a AttributeValueElementCollection, with the items contained in a AttributeValueElementReadWriteCollection /// </summary> /// <param name="items"></param> public AttributeValueElementCollection(AttributeValueElementReadWriteCollection items) { if (items == null) { throw new ArgumentNullException("items"); } foreach (AttributeValueElementReadWrite item in items) { this.List.Add(new AttributeValueElement(item.Contents, item.SchemaVersion)); } }