예제 #1
0
 /// <summary>
 /// Adds the given <paramref name="assignItem"/> to this data file.
 /// </summary>
 /// <param name="assignItem">The given <see cref="ZincAssignItem"/> to add to the data file.</param>
 /// <remarks>
 /// <para>If the given item is not effective, nothing happens.</para>
 /// </remarks>
 public void AddAssignItem(ZincAssignItem assignItem)
 {
     if (assignItem != null)
     {
         this.assignItems.Add(assignItem);
     }
 }
예제 #2
0
 /// <summary>
 /// Adds the given <paramref name="assignItem"/> to this data file.
 /// </summary>
 /// <param name="assignItem">The given <see cref="ZincAssignItem"/> to add to the data file.</param>
 /// <remarks>
 /// <para>If the given item is not effective, nothing happens.</para>
 /// </remarks>
 public void AddAssignItem(ZincAssignItem assignItem)
 {
     if (assignItem != null) {
         this.assignItems.Add (assignItem);
     }
 }