C# Class Nexus.Client.LoginFormTask

Inheritance: ThreadedBackgroundTask
Afficher le fichier Open project: NexusMods/NexusModManager-4.5 Class Usage Examples

Méthodes publiques

Méthode 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.

Méthodes protégées

Méthode 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

Méthode Description
LoginForm_Authenticating ( object sender, EventArgs e ) : void

Method Details

DoWork() protected méthode

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.
Résultat object

LoginFormTask() public méthode

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

LoginUser() protected méthode

Logins the user into the current mod repository.
protected LoginUser ( ) : bool
Résultat bool

OnTaskEnded() protected méthode

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

Reset() public méthode

public Reset ( ) : void
Résultat void

TokenLogin() public méthode

Logins the user into the current mod repository.
public TokenLogin ( ) : bool
Résultat bool

Update() public méthode

Starts the update.
public Update ( ) : void
Résultat void