1 // Licensed to the .NET Foundation under one or more agreements.
2 // The .NET Foundation licenses this file to you under the MIT license.
3 // See the LICENSE file in the project root for more information.
4 
5 namespace System.Transactions
6 {
7     internal interface IEnlistmentNotificationInternal
8     {
Prepare(IPromotedEnlistment preparingEnlistment)9         void Prepare(IPromotedEnlistment preparingEnlistment);
10 
Commit(IPromotedEnlistment enlistment)11         void Commit(IPromotedEnlistment enlistment);
12 
Rollback(IPromotedEnlistment enlistment)13         void Rollback(IPromotedEnlistment enlistment);
14 
InDoubt(IPromotedEnlistment enlistment)15         void InDoubt(IPromotedEnlistment enlistment);
16     }
17 
18     public interface IEnlistmentNotification
19     {
Prepare(PreparingEnlistment preparingEnlistment)20         void Prepare(PreparingEnlistment preparingEnlistment);
21 
Commit(Enlistment enlistment)22         void Commit(Enlistment enlistment);
23 
Rollback(Enlistment enlistment)24         void Rollback(Enlistment enlistment);
25 
InDoubt(Enlistment enlistment)26         void InDoubt(Enlistment enlistment);
27     }
28 }
29