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

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

Public Methods

Method Description
Unparser50 ( XmlScript p_xscScript ) : System.Xml.Linq

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

Protected Methods

Method Description
UnparseCondition ( ICondition p_cndCondition, string p_strNodeName ) : System.Xml.Linq.XElement

Unparses the given ICondition, giving the generated mod the specified name.

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

Method Details

UnparseCondition() protected method

Unparses the given ICondition, giving the generated mod the specified name.
This method can be overidden to provide game-specific or newer-version unparsing.
protected UnparseCondition ( ICondition p_cndCondition, string p_strNodeName ) : System.Xml.Linq.XElement
p_cndCondition ICondition The for which to generate XML.
p_strNodeName string The name to give to the generated node.
return System.Xml.Linq.XElement

Unparser50() public method

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