예제 #1
0
 /// <summary>
 /// Adds the specified <see cref="ChangeCollection"/> to <see cref="Updates"/>.
 /// </summary>
 /// <param name="update">The <c>Change</c> to add.</param>
 /// <exception cref="ArgumentNullException">update is null.</exception>
 /// <exception cref="InvalidOperationException">
 /// update belongs to another <see cref="Element"/>.
 /// </exception>
 public void AddUpdate(ChangeCollection update)
 {
     this.AddChild(update);
 }
예제 #2
0
 /// <summary>
 /// Adds the specified <see cref="ChangeCollection"/> to <see cref="Updates"/>.
 /// </summary>
 /// <param name="update">The <c>Change</c> to add.</param>
 /// <exception cref="ArgumentNullException">update is null.</exception>
 /// <exception cref="InvalidOperationException">
 /// update belongs to another <see cref="Element"/>.
 /// </exception>
 public void AddUpdate(ChangeCollection update)
 {
     this.AddAsChild(this.updates, update);
 }