C# Класс Last.fm_Scrubbler_WPF.ViewModels.LoginViewModel

ViewModel for the Views.LoginView
Наследование: Caliburn.Micro.PropertyChangedBase
Показать файл Открыть проект

Открытые методы

Метод Описание
ButtonPressed ( System.Windows.Input.KeyEventArgs e, Window win, string username, System.Windows.Controls.PasswordBox password ) : void

Logs the user in if the enter key is pressed.

Login ( Window win, string username, System.Windows.Controls.PasswordBox password ) : System.Threading.Tasks.Task

Tries to log the user in with the given credentials.

LoginViewModel ( ) : Caliburn.Micro

Constructor.

Описание методов

ButtonPressed() публичный Метод

Logs the user in if the enter key is pressed.
public ButtonPressed ( System.Windows.Input.KeyEventArgs e, Window win, string username, System.Windows.Controls.PasswordBox password ) : void
e System.Windows.Input.KeyEventArgs EventArgs containing the pressed key.
win System.Windows.Window The calling .
username string The username.
password System.Windows.Controls.PasswordBox The containing the password.
Результат void

Login() публичный Метод

Tries to log the user in with the given credentials.
public Login ( Window win, string username, System.Windows.Controls.PasswordBox password ) : System.Threading.Tasks.Task
win System.Windows.Window The calling .
username string The username.
password System.Windows.Controls.PasswordBox The containing the password.
Результат System.Threading.Tasks.Task

LoginViewModel() публичный Метод

Constructor.
public LoginViewModel ( ) : Caliburn.Micro
Результат Caliburn.Micro