Exemplo n.º 1
0
 /// <summary>
 /// Adds the specified <see cref="CreateCollection"/> to <see cref="Updates"/>.
 /// </summary>
 /// <param name="update">The <c>Create</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(CreateCollection update)
 {
     this.AddChild(update);
 }
Exemplo n.º 2
0
 /// <summary>
 /// Adds the specified <see cref="CreateCollection"/> to <see cref="Updates"/>.
 /// </summary>
 /// <param name="update">The <c>Create</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(CreateCollection update)
 {
     this.AddAsChild(this.updates, update);
 }