C# 클래스 Nexus.Client.ModManagement.Scripting.XmlScript.UI.Controls.NodeEditors.FileListEditorVM

This class encapsulates the data and the operations presented by UI elements that enable editing of a list of InstallableFiles.
상속: IViewModel
파일 보기 프로젝트 열기: NexusMods/NexusModManager-4.5 1 사용 예제들

공개 메소드들

메소드 설명
FileListEditorVM ( InstallableFileEditorVM p_femInstallableFileEditorVM, IList p_lstFiles ) : System

A simple constructor that initializes the view model with its dependencies.

Validate ( ) : bool

Validates the current state edited list.

비공개 메소드들

메소드 설명
AddInstallableFile ( InstallableFile p_iflArgument ) : void

Passes the a new InstallableFile to the editor view model to be edited.

DeleteInstallableFile ( InstallableFile p_iflArgument ) : void

Deletes the given InstallableFile from the list.

EditInstallableFile ( InstallableFile p_iflArgument ) : void

Passes the given InstallableFile to the editor view model to be edited.

InstallableFileSaved ( object sender, EventArgs e ) : void

Handles the InstallableFileEditorVM.InstallableFileSaved event of the InstallableFile editor view model.

This raises the FileAdded or FileEdited event, as appropriate.

메소드 상세

FileListEditorVM() 공개 메소드

A simple constructor that initializes the view model with its dependencies.
public FileListEditorVM ( InstallableFileEditorVM p_femInstallableFileEditorVM, IList p_lstFiles ) : System
p_femInstallableFileEditorVM InstallableFileEditorVM The that encapsulates the data /// and operations for editing an .
p_lstFiles IList The list of s that is being edited.
리턴 System

Validate() 공개 메소드

Validates the current state edited list.
public Validate ( ) : bool
리턴 bool