Skip to content

Interface ICondition

Definition

Namespace: StardewUI.Framework.Binding
Assembly: StardewUI.dll

A condition used in a ConditionalNode.

public interface ICondition : System.IDisposable

Implements
IDisposable

Members

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
Update() Re-evaluates the condition and updates the Passed state.

Details

Properties

Context

The context for evaluating the condition; i.e. the context of the node to which the condition applies.

StardewUI.Framework.Binding.BindingContext Context { get; set; }
Property Value

BindingContext


Passed

Whether or not the condition was passing as of the last Update().

bool Passed { get; }
Property Value

Boolean


Methods

Update()

Re-evaluates the condition and updates the Passed state.

void Update();