public IEnumerable <object> When(Withdraw command, OpenState state) { yield return(new Withdrawn(command.AccountId, command.Amount)); }