Class SharedStateTransactionExtensions
Extension Methods for wrapping a function or action in a transaction.
Inheritance
System.Object
SharedStateTransactionExtensions
Namespace: Cortex.Net.Api
Assembly: Cortex.Net.dll
Syntax
public static class SharedStateTransactionExtensions : object
Methods
| Improve this Doc View SourceTransaction(ISharedState, Action)
Executes an action inside a transaction.
Declaration
public static void Transaction(this ISharedState sharedState, Action action)
Parameters
Type | Name | Description |
---|---|---|
ISharedState | sharedState | The ISharedState instance to use to temporarily start a transaction.. |
Action | action | The action to execute. |