Click or drag to resize

TransactedProperty<T>.Commit Method

Commits the specified modification.

Namespace:  AGI.Foundation.Infrastructure.Threading
Assembly:  AGI.Foundation.Tracking (in AGI.Foundation.Tracking.dll) Version: 24.3.420.0 (24.3.420.0)
Syntax
protected override Object Commit(
	Transaction transaction,
	Object modificationDetails
)

Parameters

transaction
Type: AGI.Foundation.Transaction
The committing transaction.
modificationDetails
Type: System.Object
The modification to commit. This is the object that was passed to AddModification(TransactedObject, Object).

Return Value

Type: Object
The data to pass to the Notify(Object, Transaction) method after all transacted objects have been committed. If this method returns null, Notify(Object, Transaction) will not be called.
Remarks
This method is called only if ValidateModification(Transaction, Object) returns true, and it is called without the possibility of an intervening transaction committing. Therefore, it is not necessary to revalidate the modification.
See Also