Version

BaseTransactionService Class Members

The following tables list the members exposed by BaseTransactionService.

Protected Fields
 NameDescription
Protected FieldIsEnabledPropertyNameIdentifies the IsEnabled property.  
Public Properties
 NameDescription
Public PropertyCanRedoGets whether it's possible to redo a transaction.  
Public PropertyCanUndoGets whether it's possible to undo a transaction.  
Public PropertyCloneGets or sets the user-defined function for cloning transaction deltas.  
Public PropertyIsEnabledGets whether transactions are enabled.  
Public PropertyMergeGets or sets the user-defined action for merging transactions deltas into the current state.  
Protected Properties
 NameDescription
Protected PropertyIsPendingGets or sets whether pending transactions are enabled or not.  
Protected PropertyPendingStatesGets a list of pending states.  
Protected PropertyPendingTransactionsGets a list of pending transactions.  
Public Methods
 NameDescription
Public MethodAcceptCommit  
Public MethodAddAdd a transaction to the service  
Public MethodClearClears all pending transactions and state.  
Public MethodClearPendingClear out all the pending transactions.  
Public MethodCommitCommits the current transaction list.  
Public MethodEndPendingEnds the pending state.  
Public MethodGetAggregatedChangesReturns a list of all current changes.  
Public MethodGetPendingCommitReturns a commit associated with the provided ID.  
Public MethodGetPendingErrorsGet all the pending transactions that have errors associated with them.  
Public MethodGetPendingTransactionReturns a transaction associated with the provided ID.  
Public MethodGetPendingTransactionsReturns an array of pending transactions.  
Public MethodGetStateGet the current state of an item with transactions applied to it.  
Public MethodRedoRedo the last undone action.  
Public MethodRejectCommit  
Public MethodStartPendingSubsequent actions will be treated as pending.  
Public MethodUndoUndo the last action.  
Protected Methods
 NameDescription
Protected MethodOnPropertyChangedCalled when a property is changed.  
Protected MethodOnStateChangedFires the StateChanged event.  
Protected MethodUpdateStateUpdates the current item state with the given action.  
Public Events
 NameDescription
Public EventStateChangedEvent for transaction service state changes.  
See Also