C# Class Illusion.Transaction

Transaction class that support transaction to hold multi actions.
Inheritance: TransactionBase
Exibir arquivo Open project: kasicass/kasicass

Public Methods

Method 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.

Protected Methods

Method Description
Transaction ( ActionManager actionManager, bool delayed )

Initializes a new instance of the Transaction class.

Method Details

Commit() public method

Commits this instance.
public Commit ( ) : void
return void

Create() public static method

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
return Transaction

Create() public static method

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].
return Transaction

Transaction() protected method

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].