C# Класс Memento.BaseEvent

Must be implemented by all events.
Показать файл Открыть проект Примеры использования класса

Защищенные методы

Метод Описание
Rollback ( ) : BaseEvent

Rollback this event. This method is executed with Mementor.IsTrackingEnabled off, so no change marking will be done during its execution.

Because undo and redo are symmetric, this method might return a "reverse event" which will be used to rollback the effect of the current method. This method must now, however, return an isntance of BatchEvent.

Описание методов

Rollback() защищенный абстрактный Метод

Rollback this event. This method is executed with Mementor.IsTrackingEnabled off, so no change marking will be done during its execution.

Because undo and redo are symmetric, this method might return a "reverse event" which will be used to rollback the effect of the current method. This method must now, however, return an isntance of BatchEvent.

protected abstract Rollback ( ) : BaseEvent
Результат BaseEvent