C# Class Nexus.Client.ModManagement.Scripting.XmlScript.Parsers.Parser20

Parses version 2.0 xml script files.
Inheritance: Parser10
Afficher le fichier Open project: NexusMods/NexusModManager-4.5

Méthodes publiques

Méthode Description
Parser20 ( System.Xml.Linq.XElement p_xelScript, XmlScriptType p_xstXmlScriptType ) : System

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

Méthodes protégées

Méthode Description
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.

Private Methods

Méthode Description
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.

Method Details

GetConditionallyInstalledFileSets() protected méthode

Parses XmlScript.ConditionallyInstalledFileSets.
protected GetConditionallyInstalledFileSets ( ) : List
Résultat List

GetModPrerequisites() protected méthode

Parses XmlScript.ModPrerequisites.
protected GetModPrerequisites ( ) : ICondition
Résultat ICondition

LoadCondition() protected méthode

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.
Résultat ICondition

ParseOption() protected méthode

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.
Résultat Option

Parser20() public méthode

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.
Résultat System