Click or drag to resize

BcfUndoSerializationServiceOpenRepository Method

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.2.0
Syntax
protected abstract IBcfInternalUndoRepository OpenRepository(
	Stream indexFile,
	Stream dataFile,
	out List<IBcfUndoRedoItem> initialItems,
	out int recentIndex
)

Parameters

indexFile
Type: System.IOStream
The stream representing the index-file.
dataFile
Type: System.IOStream
The stream representing the data-file.
initialItems
Type: System.Collections.GenericListIBcfUndoRedoItem
The items to restore the initial state.
recentIndex
Type: SystemInt32
The index of last committed transaction.

Return Value

Type: IBcfInternalUndoRepository
The new repository.
See Also