Skip to content

Commit 941e733

Browse files
committed
AfterTransactionCompletes: Some documentation.
1 parent 753ba97 commit 941e733

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/NHibernate/Transaction/AfterTransactionCompletes.cs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,12 @@ public class AfterTransactionCompletes : ISynchronization
1212

1313
#region Constructors/Destructors
1414

15+
/// <summary>
16+
/// Create an AfterTransactionCompletes that will execute the given delegate
17+
/// when the transaction is completed. The action delegate will receive
18+
/// the value 'true' if the transaction was completed successfully.
19+
/// </summary>
20+
/// <param name="whenCompleted"></param>
1521
public AfterTransactionCompletes(Action<bool> whenCompleted)
1622
{
1723
_whenCompleted = whenCompleted;

0 commit comments

Comments
 (0)