Esempio n. 1
0
 private UpdateDefinition <AuctionRead> UpdateAuction(AuctionUpdateEventGroup eventGroup,
                                                      AuctionNameChanged ev)
 {
     return(Builders <AuctionRead> .Update.Set(read => read.Name, ev.AuctionName.Value));
 }
Esempio n. 2
0
 private void ApplyEvent(AuctionNameChanged ev) => UpdateName(ev.AuctionName);