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

Unparses version 2.0 XML scripts.
Inheritance: Unparser10
ファイルを表示 Open project: NexusMods/NexusModManager-4.5

Public Methods

Method Description
Unparser20 ( XmlScript p_xscScript ) : System

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

Protected Methods

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

Unparses the given ICondition.

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

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.

UnparseConditionalFlag ( ConditionalFlag p_flgFlag ) : System.Xml.Linq.XElement

Unparses the given ConditionalFlag.

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

UnparseConditionalTypePattern ( ConditionalOptionTypeResolver p_ctpPattern ) : System.Xml.Linq.XElement

Unparses the given ConditionalOptionTypeResolver.ConditionalTypePattern.

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

UnparseConditionallyInstalledFileSet ( ConditionallyInstalledFileSet p_cifFileSet ) : System.Xml.Linq.XElement

Unparses the given ConditionallyInstalledFileSet.

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

UnparseConditionallyInstalledFileSets ( ) : System.Xml.Linq.XElement

Unparses XmlScript.ConditionallyInstalledFileSets.

UnparseModPrerequisites ( ) : System.Xml.Linq.XElement

Unparses XmlScript.ModPrerequisites.

UnparseOption ( Option p_optOption ) : System.Xml.Linq.XElement

Unparses the given Option.

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

UnparseOptionTypeResolver ( IOptionTypeResolver p_otrOptionTypeResolver ) : System.Xml.Linq.XElement

Unparses the given IOptionTypeResolver.

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.

Method Details

UnparseCondition() protected method

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

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

UnparseConditionalFlag() protected method

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

UnparseConditionalTypePattern() protected method

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

UnparseConditionallyInstalledFileSet() protected method

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

UnparseConditionallyInstalledFileSets() protected method

Unparses XmlScript.ConditionallyInstalledFileSets.
protected UnparseConditionallyInstalledFileSets ( ) : System.Xml.Linq.XElement
return System.Xml.Linq.XElement

UnparseModPrerequisites() protected method

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

UnparseOption() protected method

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

UnparseOptionTypeResolver() protected method

Unparses the given IOptionTypeResolver.
This method can be overidden to provide game-specific or newer-version unparsing.
protected UnparseOptionTypeResolver ( IOptionTypeResolver p_otrOptionTypeResolver ) : System.Xml.Linq.XElement
p_otrOptionTypeResolver IOptionTypeResolver 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

Unparser20() public method

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