C# 클래스 Nexus.Client.ModManagement.Scripting.XmlScript.Parsers.Parser10

Parses version 1.0 xml script files.
상속: Parser
파일 보기 프로젝트 열기: NexusMods/NexusModManager-4.5

공개 메소드들

메소드 설명
Parser10 ( System.Xml.Linq.XElement p_xelScript, XmlScriptType p_xstXmlScriptType ) : System

A simple constructor that initializes the object with the given values.

보호된 메소드들

메소드 설명
GetConditionallyInstalledFileSets ( ) : List

Parses XmlScript.ConditionallyInstalledFileSets.

GetHeaderInfo ( ) : HeaderInfo

Parses XmlScript.HeaderInfo.

GetInstallStepSortOrder ( ) : SortOrder

Parses the order of the XmlScript.InstallSteps.

GetInstallSteps ( ) : List

Parses XmlScript.InstallSteps.

GetModPrerequisites ( ) : ICondition

Parses XmlScript.ModPrerequisites.

GetRequiredInstallFiles ( ) : List

Parses XmlScript.RequiredInstallFiles.

LoadCondition ( System.Xml.Linq.XElement p_xelCondition ) : ICondition

Reads the condition from the given node.

ParseGroup ( System.Xml.Linq.XElement p_xelGroup ) : OptionGroup

Creates a option group based on the given info.

ParseOption ( System.Xml.Linq.XElement p_xelOption ) : Option

Reads a option's information from the script file.

ReadFileInfo ( IEnumerable p_xeeFiles ) : List

Reads the file info from the given XML nodes.

메소드 상세

GetConditionallyInstalledFileSets() 보호된 메소드

Parses XmlScript.ConditionallyInstalledFileSets.
protected GetConditionallyInstalledFileSets ( ) : List
리턴 List

GetHeaderInfo() 보호된 메소드

Parses XmlScript.HeaderInfo.
protected GetHeaderInfo ( ) : HeaderInfo
리턴 HeaderInfo

GetInstallStepSortOrder() 보호된 메소드

Parses the order of the XmlScript.InstallSteps.
protected GetInstallStepSortOrder ( ) : SortOrder
리턴 SortOrder

GetInstallSteps() 보호된 메소드

Parses XmlScript.InstallSteps.
protected GetInstallSteps ( ) : List
리턴 List

GetModPrerequisites() 보호된 메소드

Parses XmlScript.ModPrerequisites.
protected GetModPrerequisites ( ) : ICondition
리턴 ICondition

GetRequiredInstallFiles() 보호된 메소드

Parses XmlScript.RequiredInstallFiles.
protected GetRequiredInstallFiles ( ) : List
리턴 List

LoadCondition() 보호된 메소드

Reads the condition from the given node.
protected LoadCondition ( System.Xml.Linq.XElement p_xelCondition ) : ICondition
p_xelCondition System.Xml.Linq.XElement The node from which to load the condition.
리턴 ICondition

ParseGroup() 보호된 메소드

Creates a option group based on the given info.
protected ParseGroup ( System.Xml.Linq.XElement p_xelGroup ) : OptionGroup
p_xelGroup System.Xml.Linq.XElement The script file node corresponding to the group to add.
리턴 OptionGroup

ParseOption() 보호된 메소드

Reads a option's information from the script file.
protected ParseOption ( System.Xml.Linq.XElement p_xelOption ) : Option
p_xelOption System.Xml.Linq.XElement The script file node corresponding to the option to read.
리턴 Option

Parser10() 공개 메소드

A simple constructor that initializes the object with the given values.
public Parser10 ( System.Xml.Linq.XElement p_xelScript, XmlScriptType p_xstXmlScriptType ) : System
p_xelScript System.Xml.Linq.XElement The xmlscript file.
p_xstXmlScriptType XmlScriptType The that describes /// XML script type metadata.
리턴 System

ReadFileInfo() 보호된 메소드

Reads the file info from the given XML nodes.
protected ReadFileInfo ( IEnumerable p_xeeFiles ) : List
p_xeeFiles IEnumerable The list of XML nodes containing the file info to read.
리턴 List