public static IPromotableSinglePhaseNotification Cast(this IPromotableSinglePhaseTransactionParticipant participant)
 {
     return(new PromotableSinglePhaseNotificationAdapter(participant));
 }
 public bool EnlistPromotableSinglePhase(IPromotableSinglePhaseTransactionParticipant promotableSinglePhaseNotification)
 {
     return(this.Transaction.EnlistPromotableSinglePhase(promotableSinglePhaseNotification.Cast()));
 }