C# Класс Illusion.Transaction

Transaction class that support transaction to hold multi actions.
Наследование: TransactionBase
Показать файл Открыть проект

Открытые методы

Метод Описание
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.

Защищенные методы

Метод Описание
Transaction ( ActionManager actionManager, bool delayed )

Initializes a new instance of the Transaction class.

Описание методов

Commit() публичный Метод

Commits this instance.
public Commit ( ) : void
Результат void

Create() публичный статический Метод

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
Результат Transaction

Create() публичный статический Метод

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].
Результат Transaction

Transaction() защищенный Метод

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