classDiagram
direction LR
RecordContainer --> IRecord
class IRecord{
<<interface>>
+Unod()
+Redo()
+OnRemove()
+OnException(Exception ex)
}
class RecordContainer{
+Record(IRecord record)
+Undo()
+Redo()
+Clear()
}
classDiagram
IRecord <|-- DelRecord
IRecord <|-- SpawnRecord
RecordContainer --> IRecord
class IRecord{
<<interface>>
}
class DelRecord
class SpawnRecord
class RecordContainer{
}
github地址:https://github.com/pangdudu72...