C# 클래스 Nexus.Client.ModManagement.Scripting.XmlScript.CompositeCondition

A condition that requires a combination of sub-conditions to be fulfilled.
The combination of sub-conditions that must be fulfilled is determined by an operator (e.g., and, or).
상속: ObservableObject, ICondition
파일 보기 프로젝트 열기: NexusMods/NexusModManager-4.5

공개 메소드들

메소드 설명
CompositeCondition ( ConditionOperator p_dopOperator ) : System

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

GetIsFulfilled ( ConditionStateManager p_csmStateManager ) : bool

Determines if the given composite condition if fulfilled.

A composite condition is fulfilled if and only if its contained conditions are fulfilled in the combination specified by the Operator.

GetMessage ( ConditionStateManager p_csmStateManager ) : string

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

If the condition is fulfilled the message is "Passed." If the condition is not fulfilled the message is a list of the sub-dependecies' messages.

비공개 메소드들

메소드 설명
m_lstConditions_CollectionChanged ( object sender, NotifyCollectionChangedEventArgs e ) : void

메소드 상세

CompositeCondition() 공개 메소드

A simple constructor that initializes the object with the given values.
public CompositeCondition ( ConditionOperator p_dopOperator ) : System
p_dopOperator ConditionOperator The operator that specifies what combination of sub-conditions /// must be fulfilled in order for this dependancy to be fulfilled.
리턴 System

GetIsFulfilled() 공개 메소드

Determines if the given composite condition if fulfilled.
A composite condition is fulfilled if and only if its contained conditions are fulfilled in the combination specified by the Operator.
public GetIsFulfilled ( ConditionStateManager p_csmStateManager ) : bool
p_csmStateManager ConditionStateManager The manager that tracks the currect install state.
리턴 bool

GetMessage() 공개 메소드

Gets a message describing whether or not the condition is fulfilled.
If the condition is fulfilled the message is "Passed." If the condition is not fulfilled the message is a list of the sub-dependecies' messages.
public GetMessage ( ConditionStateManager p_csmStateManager ) : string
p_csmStateManager ConditionStateManager The manager that tracks the currect install state.
리턴 string