 | BcfUndoSerializationServiceOpenRepository 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
Syntaxprotected abstract IBcfInternalUndoRepository OpenRepository(
Stream indexFile,
Stream dataFile,
out List<IBcfUndoRedoItem> initialItems,
out int recentIndex
)
Protected MustOverride Function OpenRepository (
indexFile As Stream,
dataFile As Stream,
<OutAttribute> ByRef initialItems As List(Of IBcfUndoRedoItem),
<OutAttribute> ByRef recentIndex As Integer
) As IBcfInternalUndoRepository
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:
IBcfInternalUndoRepositoryThe new repository.
See Also