Exemple #1
0
 private UpdateDefinition <AuctionRead> UpdateAuction(AuctionUpdateEventGroup eventGroup,
                                                      AuctionBuyNowPriceChanged ev)
 {
     return(Builders <AuctionRead> .Update.Set(read => read.BuyNowPrice, ev.BuyNowPrice.Value));
 }
Exemple #2
0
 private void ApplyEvent(AuctionBuyNowPriceChanged ev) => UpdateBuyNowPrice(ev.BuyNowPrice);