public SinglePhaseNotificationAdapter(ISinglePhaseTransactionParticipant participant) : base(participant) { this.SinglePhaseParticipant = participant; }
public IEnlistment EnlistVolatile(ISinglePhaseTransactionParticipant singlePhaseNotification, EnlistmentOptions enlistmentOptions) { return(this.Transaction.EnlistVolatile(singlePhaseNotification.Cast(), enlistmentOptions).Cast()); }
public static ISinglePhaseNotification Cast(this ISinglePhaseTransactionParticipant participant) { return(new SinglePhaseNotificationAdapter(participant)); }
public IEnlistment EnlistDurable(Guid resourceManagerIdentifier, ISinglePhaseTransactionParticipant singlePhaseNotification, EnlistmentOptions enlistmentOptions) { return(this.Transaction.EnlistDurable(resourceManagerIdentifier, singlePhaseNotification.Cast(), enlistmentOptions).Cast()); }