Class NegatedCondition
Definition
Namespace: StardewUI.Framework.Binding
Assembly: StardewUI.dll
Wrapper for an ICondition that negates its outcome.
Inheritance
Object ⇦ NegatedCondition
Implements
ICondition, IDisposable
Members
Constructors
Name | Description |
---|---|
NegatedCondition(ICondition) | Wrapper for an ICondition that negates its outcome. |
Properties
Name | Description |
---|---|
Context | The context for evaluating the condition; i.e. the context of the node to which the condition applies. |
Passed | Whether or not the condition was passing as of the last Update(). |
Methods
Name | Description |
---|---|
Dispose() | |
Update() | Re-evaluates the condition and updates the Passed state. |
Details
Constructors
NegatedCondition(ICondition)
Wrapper for an ICondition that negates its outcome.
Parameters
innerCondition
ICondition
Properties
Context
The context for evaluating the condition; i.e. the context of the node to which the condition applies.
Property Value
Passed
Whether or not the condition was passing as of the last Update().
Property Value
Methods
Dispose()
Update()
Re-evaluates the condition and updates the Passed state.