public LoginViewModel(INavigationStack stack, IServerConnection connection) { Credentials = ReactiveCommand.Create(() => stack.Push(new LoginCredentialsViewModel(stack, connection))); NewAccount = ReactiveCommand.Create(() => stack.Push(new LoginNewAccountViewModel(stack, connection))); }