private void ApplyEvent(BDO.Core.Events.ItemInfoUpdated e) { ItemId = e.ItemId; Grade = e.Grade; }
public ItemInfo Handle(BDO.Core.Events.ItemInfoUpdated e, ItemInfo state) { state.ItemId = e.ItemId; state.Grade = e.Grade; return(state); }