C# 클래스 Nexus.Client.ModManagement.ModUpdateCheckTask

상속: ThreadedBackgroundTask
파일 보기 프로젝트 열기: NexusMods/NexusModManager-4.5 1 사용 예제들

공개 메소드들

메소드 설명
Cancel ( ) : void

Cancels the update.

ModUpdateCheckTask ( AutoUpdater p_AutoUpdater, IModRepository p_ModRepository, List p_lstModList, bool p_booOverrideCategorySetup ) : System

A simple constructor that initializes the object with its dependencies.

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.

비공개 메소드들

메소드 설명
CheckForModListUpdate ( List p_lstModList ) : void

Checks for the updated information for the given mods.

메소드 상세

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

ModUpdateCheckTask() 공개 메소드

A simple constructor that initializes the object with its dependencies.
public ModUpdateCheckTask ( AutoUpdater p_AutoUpdater, IModRepository p_ModRepository, List p_lstModList, bool p_booOverrideCategorySetup ) : System
p_AutoUpdater AutoUpdater The AutoUpdater.
p_ModRepository IModRepository The current mod repository.
p_lstModList List The list of mods we need to update.
p_booOverrideCategorySetup bool Whether to force a global update.
리턴 System

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