C# Класс Nexus.Client.ModManagement.Scripting.XmlScript.Parsers.Parser20

Parses version 2.0 xml script files.
Наследование: Parser10
Показать файл Открыть проект

Открытые методы

Метод Описание
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