C# 클래스 Nexus.Client.ModManagement.ModManager.AddModQueue

A list of mods that are to be added to the mod manager.
상속: IDisposable
파일 보기 프로젝트 열기: NexusMods/NexusModManager-4.5

Private Properties

프로퍼티 타입 설명
ConfirmFileOverwrite bool
ModAdder_TaskEnded void
ResumeQueued void

공개 메소드들

메소드 설명
AddMod ( Uri p_uriPath, ConfirmOverwriteCallback p_cocConfirmOverwrite ) : IBackgroundTask

Adds the specified mod to the queue.

The specified mod is downloaded, and then added to the mod manager.

AddModQueue ( IEnvironmentInfo p_eifEnvironmentInfo, ModManager p_mmgModManager ) : System

A sipmle constructor that initializes that object with the required dependencies.

Dispose ( ) : void

Terminates all running tasks.

After being disposed, further interaction with the object is undefined.

LoadQueuedMods ( ) : void

Loads the list of mods that are queued to be added to the mod manager.

비공개 메소드들

메소드 설명
ConfirmFileOverwrite ( string p_strOldFilePath, string &p_strNewFilePath ) : bool

The callback that confirms a file overwrite.

ModAdder_TaskEnded ( object sender, TaskEndedEventArgs e ) : void

Handles the IBackgroundTask.TaskEnded event of the mod adding task.

This retrieves the paths of the added mods.

ResumeQueued ( ) : void

Resumes the queued running tasks.

Resumes the queued running tasks.

메소드 상세

AddMod() 공개 메소드

Adds the specified mod to the queue.
The specified mod is downloaded, and then added to the mod manager.
public AddMod ( Uri p_uriPath, ConfirmOverwriteCallback p_cocConfirmOverwrite ) : IBackgroundTask
p_uriPath System.Uri The URL of the mod to add to the manager.
p_cocConfirmOverwrite ConfirmOverwriteCallback The delegate to call to resolve conflicts with existing files.
리턴 IBackgroundTask

AddModQueue() 공개 메소드

A sipmle constructor that initializes that object with the required dependencies.
public AddModQueue ( IEnvironmentInfo p_eifEnvironmentInfo, ModManager p_mmgModManager ) : System
p_eifEnvironmentInfo IEnvironmentInfo The application's envrionment info.
p_mmgModManager ModManager The mod manager for which we are queing mods to be added.
리턴 System

Dispose() 공개 메소드

Terminates all running tasks.
After being disposed, further interaction with the object is undefined.
public Dispose ( ) : void
리턴 void

LoadQueuedMods() 공개 메소드

Loads the list of mods that are queued to be added to the mod manager.
public LoadQueuedMods ( ) : void
리턴 void