コード例 #1
0
        public TransactionBuilder WithEvent(Event @event)
        {
            var eventMessage = new EventEnvelopeBuilder().WithBody(@event).Build();

            events.Add(eventMessage);

            return(this);
        }
コード例 #2
0
 public TransactionBuilder WithEvent(EventEnvelopeBuilder eventEnvelopeBuilder)
 {
     events.Add(eventEnvelopeBuilder.Build());
     return(this);
 }