Beispiel #1
0
 /// <summary>
 ///    Adds a collection of elements to the current instance.
 /// </summary>
 /// <param name="list">
 ///    A <see cref="T:TagLib.ListBase`1"/> object containing
 ///    elements to add to the current instance.
 /// </param>
 public void Add(ListBase <T> list)
 {
     if (list != null)
     {
         data.AddRange(list);
     }
 }
Beispiel #2
0
 /// <summary>
 ///    Constructs and initializes a new instance of <see
 ///    cref="T:TagLib.ListBase`1" /> with specified contents.
 /// </summary>
 /// <param name="list">
 ///   A <see cref="T:System.Collections.Generic.IEnumerable`1"
 ///   /> containing objects to add to the current instance.
 /// </param>
 public ListBase(ListBase <T> list)
 {
     if (list != null)
     {
         Add(list);
     }
 }
Beispiel #3
0
 public ListBase(ListBase <T> list)
 {
     Add(list);
 }