コード例 #1
0
 public void Undo()
 {
     if (index != -1)
     {
         compositeType.ReinsertMember(member, index);
     }
 }
コード例 #2
0
 public void Execute()
 {
     if (newMember == null)
     {
         newMember = addOperation(parent);
     }
     else
     {
         parent.ReinsertMember(newMember, parent.MemberCount);
     }
 }