コード例 #1
0
        public void Handle(InventoryItemRenamed message)
        {
            InventoryItemDetailsDto d = GetDetailsItem(message.Id);

            d.Name    = message.NewName;
            d.Version = message.Version;
        }
コード例 #2
0
        public void Handle(InventoryItemRenamed message)
        {
            var item = BullShitDatabase.list.Find(x => x.Id == message.Id);

            item.Name = message.NewName;
        }