C# Class Nexus.Client.ModManagement.Scripting.XmlScript.Option

Describes an option.
This class tracks the name, description, type, and files/folders associated with an option.
Inheritance: ObservableObject
Show file Open project: NexusMods/NexusModManager-4.5 Class Usage Examples

Public Methods

Method Description
GetOptionType ( ConditionStateManager p_csmStateManager ) : OptionType

Gets the OptionType of the option.

Option ( string p_strName, string p_strDesc, string p_strImagePath, IOptionTypeResolver p_ptpType ) : System

A simple constructor that initializes the values of the object.

Method Details

GetOptionType() public method

Gets the OptionType of the option.
public GetOptionType ( ConditionStateManager p_csmStateManager ) : OptionType
p_csmStateManager ConditionStateManager The manager that tracks the currect install state.
return OptionType

Option() public method

A simple constructor that initializes the values of the object.
public Option ( string p_strName, string p_strDesc, string p_strImagePath, IOptionTypeResolver p_ptpType ) : System
p_strName string The name of the option.
p_strDesc string The description of the option.
p_strImagePath string
p_ptpType IOptionTypeResolver The of the option.
return System