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

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

공개 메소드들

메소드 설명
Parser20 ( 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.

GetModPrerequisites ( ) : ICondition

Parses XmlScript.ModPrerequisites.

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

Reads the dependency information from the given node.

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

Reads a option's information from the script file.

비공개 메소드들

메소드 설명
ReadConditionalFileInstallInfo ( IEnumerable p_xeeConditionalFileInstalls ) : List

Reads the conditional file install info from the given XML nodes.

ReadFlagInfo ( IEnumerable p_xeeFlags ) : List

Reads the condtition flag info from the given XML nodes.

메소드 상세

GetConditionallyInstalledFileSets() 보호된 메소드

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

GetModPrerequisites() 보호된 메소드

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

LoadCondition() 보호된 메소드

Reads the dependency information 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 dependency information.
리턴 ICondition

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

Parser20() 공개 메소드

A simple constructor that initializes the object with the given values.
public Parser20 ( 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