C# Класс Nexus.Client.PluginManagement.AutoPluginSortingTask

Наследование: ThreadedBackgroundTask
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
AutoPluginSortingTask ( IGameMode p_gmdCurrentGameMode, IList p_lstPlugins, ConfirmActionMethod p_camConfirm ) : System

A simple constructor that initializes the object with its dependencies.

Cancel ( ) : void

Cancels the update.

Update ( ConfirmActionMethod p_camConfirm ) : void

Starts the update.

Защищенные методы

Метод Описание
DoWork ( object p_objArgs ) : object

The method that is called to start the backgound task.

OnTaskEnded ( TaskEndedEventArgs e ) : void

Raises the IBackgroundTask.TaskEnded event.

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

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

A simple constructor that initializes the object with its dependencies.
public AutoPluginSortingTask ( IGameMode p_gmdCurrentGameMode, IList p_lstPlugins, ConfirmActionMethod p_camConfirm ) : System
p_gmdCurrentGameMode IGameMode
p_lstPlugins IList
p_camConfirm ConfirmActionMethod
Результат System

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

Cancels the update.
public Cancel ( ) : void
Результат void

DoWork() защищенный Метод

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.
Результат object

OnTaskEnded() защищенный Метод

Raises the IBackgroundTask.TaskEnded event.
protected OnTaskEnded ( TaskEndedEventArgs e ) : void
e Nexus.Client.BackgroundTasks.TaskEndedEventArgs A describing the event arguments.
Результат void

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

Starts the update.
public Update ( ConfirmActionMethod p_camConfirm ) : void
p_camConfirm ConfirmActionMethod The delegate to call to confirm an action.
Результат void