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