C# Class Illusion.Transaction

Transaction class that support transaction to hold multi actions.
Inheritance: TransactionBase
Afficher le fichier Open project: kasicass/kasicass

Méthodes publiques

Méthode Description
Commit ( ) : void

Commits this instance.

Create ( ActionManager actionManager ) : Transaction

By default, the actions are delayed and executed only after the top-level transaction commits.

Make sure to dispose of the transaction once you're done - it will actually call Commit for you

Create ( ActionManager actionManager, bool delayed ) : Transaction

Creates the specified action manager.

Méthodes protégées

Méthode Description
Transaction ( ActionManager actionManager, bool delayed )

Initializes a new instance of the Transaction class.

Method Details

Commit() public méthode

Commits this instance.
public Commit ( ) : void
Résultat void

Create() public static méthode

By default, the actions are delayed and executed only after the top-level transaction commits.
Make sure to dispose of the transaction once you're done - it will actually call Commit for you
public static Create ( ActionManager actionManager ) : Transaction
actionManager ActionManager
Résultat Transaction

Create() public static méthode

Creates the specified action manager.
public static Create ( ActionManager actionManager, bool delayed ) : Transaction
actionManager ActionManager The action manager.
delayed bool if set to true [delayed].
Résultat Transaction

Transaction() protected méthode

Initializes a new instance of the Transaction class.
protected Transaction ( ActionManager actionManager, bool delayed )
actionManager ActionManager The action manager.
delayed bool if set to true [delayed].