C# Class Memento.BaseEvent

Must be implemented by all events.
Afficher le fichier Open project: buunguyen/memento Class Usage Examples

Méthodes protégées

Méthode Description
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.

Method Details

Rollback() protected abstract méthode

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
Résultat BaseEvent