C# Class Nexus.Client.ModManagement.ToggleUpdateWarningTask

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

Protected Properties

Свойство Type Description
m_booEnable bool?
m_hashMods HashSet
tfmFileManager ChinhDo.Transactions.TxFileManager

Méthodes publiques

Méthode Description
Cancel ( ) : void

Cancels the update.

ToggleUpdateWarningTask ( HashSet p_hashMods, bool p_booEnable, ConfirmActionMethod p_camConfirm ) : System

A simple constructor that initializes the object with its dependencies.

Update ( ConfirmActionMethod p_camConfirm ) : 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.

OnTaskEnded ( TaskEndedEventArgs e ) : void

Raises the IBackgroundTask.TaskEnded event.

Method Details

Cancel() public méthode

Cancels the update.
public Cancel ( ) : void
Résultat void

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

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

ToggleUpdateWarningTask() public méthode

A simple constructor that initializes the object with its dependencies.
public ToggleUpdateWarningTask ( HashSet p_hashMods, bool p_booEnable, ConfirmActionMethod p_camConfirm ) : System
p_hashMods HashSet
p_booEnable bool
p_camConfirm ConfirmActionMethod
Résultat System

Update() public méthode

Starts the update.
public Update ( ConfirmActionMethod p_camConfirm ) : void
p_camConfirm ConfirmActionMethod The delegate to call to confirm an action.
Résultat void

Property Details

m_booEnable protected_oe property

protected bool? m_booEnable
Résultat bool?

m_hashMods protected_oe property

protected HashSet m_hashMods
Résultat HashSet

tfmFileManager protected_oe property

protected TxFileManager,ChinhDo.Transactions tfmFileManager
Résultat ChinhDo.Transactions.TxFileManager