Show / Hide Table of Contents

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 Source

Transaction(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.

  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX