Beispiel #1
0
 private IEnumerable <CommandModel> CreateSectionDeleteCommand()
 {
     yield return(ContainingSection.CreateDeleteCommand(this, Attributes, typeof(DefaultSectionDeleteCommandModel)));
 }
Beispiel #2
0
 /// <summary>
 /// Creates a delete <see cref="CommandModel"/> for this element based on it's <see cref="Attributes"/>.
 /// </summary>
 /// <returns></returns>
 protected IEnumerable <CommandModel> CreateDeleteCommand()
 {
     yield return(ContainingSection.CreateDeleteCommand(this, Attributes));
 }