Click or drag to resize
CalculationWorks Logo
IBcfUndoRedoItem Interface
Interface for compensation objects (undo redo items)

Namespace: CalculationWorks.BusinessModel.UndoRedo
Assembly: CalculationWorks.BusinessModel (in CalculationWorks.BusinessModel.dll) Version: 3.0.2.0
Syntax
public interface IBcfUndoRedoItem

The IBcfUndoRedoItem type exposes the following members.

Methods
  NameDescription
Public methodOnDiscard
Called when the item goes out of scope.
Public methodRedo
Restores the modified state
Public methodUndo
Restores the original state
Top
Remarks
When implementing make sure, the methods never causes an exception. Throwing an exception inside Undo or Redo will cause a BcfRollbackException or BcfUndoRedoException. As a result the model corrupted.
Version Information

CalculationWorks.BusinessModel

Supported in: 3.0, 2.1, 2.0
See Also