 | 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-beta6
Syntaxpublic void RegisterStateMapper(
Type serializableType,
Func<Object, BcfDataSet, IBcfUndoRedoItem> fromDeserializedState
)
Public Sub RegisterStateMapper (
serializableType As Type,
fromDeserializedState As Func(Of Object, BcfDataSet, IBcfUndoRedoItem)
)
Parameters
- serializableType
- Type: SystemType
The type. - fromDeserializedState
- Type: SystemFuncObject, BcfDataSet, IBcfUndoRedoItem
Method to restore an instance of serializableType from a state-object.
Version InformationBCF
Supported in: 4.0
See Also