Click or drag to resize

BcfUndoSerializationServiceRegisterStateMapper Method

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

Infrastructure. The member supports the infrastructure and is not intended to be used directly from your code.

Namespace:  CalculationWorks.BusinessModel.UndoRedo
Assembly:  CalculationWorks.BusinessModel (in CalculationWorks.BusinessModel.dll) Version: 4.0.0-beta7
Syntax
public void RegisterStateMapper(
	Type serializableType,
	Func<Object, BcfDataSet, IBcfUndoRedoItem> fromDeserializedState
)

Parameters

serializableType
Type: SystemType
The type.
fromDeserializedState
Type: SystemFuncObject, BcfDataSet, IBcfUndoRedoItem
Method to restore an instance of serializableType from a state-object.
See Also