コード例 #1
0
 public static IPromotableSinglePhaseNotification Cast(this IPromotableSinglePhaseTransactionParticipant participant)
 {
     return(new PromotableSinglePhaseNotificationAdapter(participant));
 }
コード例 #2
0
 public bool EnlistPromotableSinglePhase(IPromotableSinglePhaseTransactionParticipant promotableSinglePhaseNotification)
 {
     return(this.Transaction.EnlistPromotableSinglePhase(promotableSinglePhaseNotification.Cast()));
 }