コード例 #1
0
ファイル: ListBase.cs プロジェクト: Lolle2000la/Aurora.Music
 /// <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);
     }
 }
コード例 #2
0
ファイル: ListBase.cs プロジェクト: Lolle2000la/Aurora.Music
 /// <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);
     }
 }
コード例 #3
0
ファイル: ListBase.cs プロジェクト: windygu/alexandrialibrary
 public ListBase(ListBase <T> list)
 {
     Add(list);
 }