BattlelogMobile.Client.ViewModel.MainViewModel.CanExecuteLogInCommand C# (CSharp) Method

CanExecuteLogInCommand() private method

private CanExecuteLogInCommand ( ) : bool
return bool
        private bool CanExecuteLogInCommand()
        {
            if (!UserInterfaceEnabled || (Email == null || Password == null))
                return false;

            return Email.Length > 0 && Password.Length > 0;
        }