예제 #1
0
    public void CreateVoter(OletxPhase1VolatileEnlistmentContainer managedIdentifier, out VoterBallotShim voterBallotShim)
    {
        var voterNotifyShim = new VoterNotifyShim(_shimFactory, managedIdentifier);
        var voterShim       = new VoterBallotShim(_shimFactory, voterNotifyShim);

        _shimFactory.VoterFactory.Create(Transaction, voterNotifyShim, out ITransactionVoterBallotAsync2 voterBallot);
        voterShim.VoterBallotAsync2 = voterBallot;
        voterBallotShim             = voterShim;
    }
예제 #2
0
 internal VoterBallotShim(DtcProxyShimFactory shimFactory, VoterNotifyShim notifyShim)
 => _voterNotifyShim = notifyShim;