示例#1
0
 ReplaceUndoEntry(BinaryReader reader, int version)
     : base(reader, version)
 {
     delete = (DeleteUndoEntry)DecodeEntry(reader, version);
     insert = (InsertCopyableUndoEntry)DecodeEntry(reader, version);
 }
示例#2
0
 public ReplaceUndoEntry(ISelectParent parent, DeleteUndoEntry delete, InsertCopyableUndoEntry insert)
     : base($"{parent.ChildString} Replaced", parent)
 {
     this.delete = delete;
     this.insert = insert;
 }