C# Class Nexus.Client.ModManagement.Scripting.XmlScript.ConditionalOptionTypeResolver.ConditionalTypePattern

A pattern that is matched against external conditions to determine whether or not its option type is elected.
Show file Open project: NexusMods/NexusModManager-4.5

Public Methods

Method Description
ConditionalTypePattern ( OptionType p_ptpType, ICondition p_cndCondition ) : System

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

Method Details

ConditionalTypePattern() public method

A simple constructor that initializes the object with the given values.
public ConditionalTypePattern ( OptionType p_ptpType, ICondition p_cndCondition ) : System
p_ptpType OptionType The option type this pattern returns if it is fulfilled.
p_cndCondition ICondition The condition that must by fulfilled for this pattern's option type /// to be elected.
return System