CalculationWorks Logo
IBcfUndoRedoItem InterfaceCalculationWorks BCF Library 1.1 for .NET Framework 4.5

[This is preliminary documentation and is subject to change.]

Interface for compensation objects (undo redo items)

Namespace: CalculationWorks.BusinessModel.UndoRedo
Assembly: CalculationWorks.BusinessModel (in CalculationWorks.BusinessModel.dll) Version: 1.1.0.0
Syntax

public interface IBcfUndoRedoItem

The IBcfUndoRedoItem type exposes the following members.

Methods

  NameDescription
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.
See Also

Reference