Show / Hide Table of Contents

Class LoginViewModel

The login view model.

Inheritance
object
BindableBase
LoginViewModel
Implements
INotifyPropertyChanged
Inherited Members
BindableBase.SetProperty<T>(ref T, T, string)
BindableBase.SetProperty<T>(ref T, T, Action, string)
BindableBase.RaisePropertyChanged(string)
BindableBase.OnPropertyChanged(PropertyChangedEventArgs)
BindableBase.PropertyChanged
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Phoenix.Aruba.Login
Assembly: Phoenix.Plugin.Aruba.dll
Syntax
public class LoginViewModel : BindableBase, INotifyPropertyChanged

Constructors

View Source

LoginViewModel(LoginConfig, IEventAggregator)

Initializes a new instance of the LoginViewModel class.

Declaration
public LoginViewModel(LoginConfig config, IEventAggregator eventAggregator)
Parameters
Type Name Description
LoginConfig config

The login configuration.

IEventAggregator eventAggregator

The event aggregator.

Properties

View Source

CancelCommand

Gets the cancel command.

Declaration
public ICommand CancelCommand { get; }
Property Value
Type Description
ICommand
View Source

LoginCommand

Gets the login command.

Declaration
public ICommand LoginCommand { get; }
Property Value
Type Description
ICommand
View Source

Message

Gets the message for login.

Declaration
public string Message { get; }
Property Value
Type Description
string
View Source

Password

Gets or sets the password.

Declaration
public string Password { get; set; }
Property Value
Type Description
string
View Source

RememberCredentials

Gets or sets a value indicating whether to remember credentials.

Declaration
public bool RememberCredentials { get; set; }
Property Value
Type Description
bool
View Source

ShowRememberOption

Gets a value indicating whether to show the remember credentials option.

Declaration
public bool ShowRememberOption { get; }
Property Value
Type Description
bool
View Source

UserName

Gets or sets the user name.

Declaration
public string UserName { get; set; }
Property Value
Type Description
string

Methods

View Source

DoLogin()

Log in with the given credentials.

Declaration
public void DoLogin()
View Source

ToLoginData()

Convert the login information to a LoginData class.

Declaration
public LoginData ToLoginData()
Returns
Type Description
LoginData

The login data class.

Implements

INotifyPropertyChanged
  • View Source
In this article
Back to top Generated by DocFX