ChinhDo.Transactions.TxFileManager.TxEnlistment.Commit C# (CSharp) Method

Commit() public method

public Commit ( Enlistment enlistment ) : void
enlistment Nexus.Transactions.Enlistment
return void
			public void Commit(Enlistment enlistment)
			{
				for (int i = 0; i < _journal.Count; i++)
				{
					_journal[i].CleanUp();
				}

				_enlisted = false;
				_journal.Clear();
				_enlistments.Remove(_tx.TransactionInformation.LocalIdentifier);
				enlistment.Done();
			}