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

Inheritance: ICondition
Datei anzeigen Open project: NexusMods/NexusModManager-4.5

Public Methods

Method Description
GetIsFulfilled ( ConditionStateManager p_csmStateManager ) : bool

Gets whether or not the condition is fulfilled.

GetMessage ( ConditionStateManager p_csmStateManager ) : string

Gets a message describing whether or not the condition is fulfilled.

VersionCondition ( System.Version p_verVersion ) : System

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

Method Details

GetIsFulfilled() public abstract method

Gets whether or not the condition is fulfilled.
public abstract GetIsFulfilled ( ConditionStateManager p_csmStateManager ) : bool
p_csmStateManager ConditionStateManager The manager that tracks the currect install state.
return bool

GetMessage() public abstract method

Gets a message describing whether or not the condition is fulfilled.
public abstract GetMessage ( ConditionStateManager p_csmStateManager ) : string
p_csmStateManager ConditionStateManager The manager that tracks the currect install state.
return string

VersionCondition() public method

A simple constructor that initializes the object with the given values.
public VersionCondition ( System.Version p_verVersion ) : System
p_verVersion System.Version The minimum required version.
return System