C# Class Nexus.Client.LoginFormTask

Inheritance: ThreadedBackgroundTask
Show file Open project: NexusMods/NexusModManager-4.5 Class Usage Examples

Public Methods

Method Description
LoginFormTask ( ModManager p_mmModManager ) : System

A simple constructor that initializes the object with its dependencies.

Reset ( ) : void
TokenLogin ( ) : bool

Logins the user into the current mod repository.

Update ( ) : void

Starts the update.

Protected Methods

Method Description
DoWork ( object p_objArgs ) : object

The method that is called to start the backgound task.

LoginUser ( ) : bool

Logins the user into the current mod repository.

OnTaskEnded ( TaskEndedEventArgs e ) : void

Raises the IBackgroundTask.TaskEnded event.

Private Methods

Method Description
LoginForm_Authenticating ( object sender, EventArgs e ) : void

Method Details

DoWork() protected method

The method that is called to start the backgound task.
protected DoWork ( object p_objArgs ) : object
p_objArgs object Arguments to for the task execution.
return object

LoginFormTask() public method

A simple constructor that initializes the object with its dependencies.
public LoginFormTask ( ModManager p_mmModManager ) : System
p_mmModManager Nexus.Client.ModManagement.ModManager
return System

LoginUser() protected method

Logins the user into the current mod repository.
protected LoginUser ( ) : bool
return bool

OnTaskEnded() protected method

Raises the IBackgroundTask.TaskEnded event.
protected OnTaskEnded ( TaskEndedEventArgs e ) : void
e Nexus.Client.BackgroundTasks.TaskEndedEventArgs A describing the event arguments.
return void

Reset() public method

public Reset ( ) : void
return void

TokenLogin() public method

Logins the user into the current mod repository.
public TokenLogin ( ) : bool
return bool

Update() public method

Starts the update.
public Update ( ) : void
return void