IEnumerable <Event> Handle(Deactivate cmd) { CheckIsActive(); yield return(new InventoryItemDeactivated()); }
void Handle(Deactivate cmd) { CheckIsActive(); active = false; }