Example #1
0
 private UpdateDefinition <AuctionRead> UpdateAuction(AuctionUpdateEventGroup eventGroup,
                                                      AuctionTagsChanged ev)
 {
     return(Builders <AuctionRead> .Update.Set(read => read.Tags, ev.Tags.Select(tag => tag.Value)));
 }
Example #2
0
 private void ApplyEvent(AuctionTagsChanged ev) => UpdateTags(ev.Tags);