C# Class Nexus.Client.ModManagement.Scripting.XmlScript.Unparsers.Unparser30

Unparses version 3.0 XML scripts.
Inheritance: Unparser20
Show file Open project: NexusMods/NexusModManager-4.5

Public Methods

Method Description
Unparser30 ( XmlScript p_xscScript ) : System

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

Protected Methods

Method Description
UnparseHeaderInfo ( ) : List

Unparses XmlScript.HeaderInfo.

UnparseInstallStep ( InstallStep p_ispStep ) : System.Xml.Linq.XElement

Unparses the given InstallStep.

This method can be overidden to provide game-specific or newer-version unparsing.

UnparseModPrerequisites ( ) : System.Xml.Linq.XElement

Unparses XmlScript.ModPrerequisites.

UnparseOptionGroup ( OptionGroup p_ogpGroup ) : System.Xml.Linq.XElement

Unparses the given OptionGroup.

This method can be overidden to provide game-specific or newer-version unparsing.

UnparsePrerequisiteCondition ( ICondition p_cndCondition ) : System.Xml.Linq.XElement

Unparses the given ICondition.

This method can be overidden to provide game-specific or newer-version unparsing.

UnparseSortOrder ( SortOrder p_sorOrder ) : string

Translates the given SortOrder into the string representation used in the XML.

UnparseTextPosition ( TextPosition p_tpsPosition ) : string

Translates the given TextPosition into the string representation used in the XML.

Method Details

UnparseHeaderInfo() protected method

Unparses XmlScript.HeaderInfo.
protected UnparseHeaderInfo ( ) : List
return List

UnparseInstallStep() protected method

Unparses the given InstallStep.
This method can be overidden to provide game-specific or newer-version unparsing.
protected UnparseInstallStep ( InstallStep p_ispStep ) : System.Xml.Linq.XElement
p_ispStep InstallStep The for which to generate XML.
return System.Xml.Linq.XElement

UnparseModPrerequisites() protected method

Unparses XmlScript.ModPrerequisites.
protected UnparseModPrerequisites ( ) : System.Xml.Linq.XElement
return System.Xml.Linq.XElement

UnparseOptionGroup() protected method

Unparses the given OptionGroup.
This method can be overidden to provide game-specific or newer-version unparsing.
protected UnparseOptionGroup ( OptionGroup p_ogpGroup ) : System.Xml.Linq.XElement
p_ogpGroup OptionGroup The for which to generate XML.
return System.Xml.Linq.XElement

UnparsePrerequisiteCondition() protected method

Unparses the given ICondition.
This method can be overidden to provide game-specific or newer-version unparsing.
protected UnparsePrerequisiteCondition ( ICondition p_cndCondition ) : System.Xml.Linq.XElement
p_cndCondition ICondition The for which to generate XML.
return System.Xml.Linq.XElement

UnparseSortOrder() protected method

Translates the given SortOrder into the string representation used in the XML.
protected UnparseSortOrder ( SortOrder p_sorOrder ) : string
p_sorOrder SortOrder The to unparse.
return string

UnparseTextPosition() protected method

Translates the given TextPosition into the string representation used in the XML.
protected UnparseTextPosition ( TextPosition p_tpsPosition ) : string
p_tpsPosition TextPosition The to unparse.
return string

Unparser30() public method

A simple constructor that initializes the object with the given values.
public Unparser30 ( XmlScript p_xscScript ) : System
p_xscScript XmlScript The script to unparse.
return System