CriterionNode

Namespace: Murder.Core.Dialogs
Assembly: Murder.dll

public sealed struct CriterionNode

⭐ Constructors

public CriterionNode()
public CriterionNode(Criterion criterion, CriterionNodeKind kind)

Parameters
criterion Criterion
kind CriterionNodeKind

public CriterionNode(Criterion criterion)

Parameters
criterion Criterion

⭐ Properties

Criterion

public readonly Criterion Criterion;

Returns
Criterion

Kind

public readonly CriterionNodeKind Kind;

Returns
CriterionNodeKind

⭐ Methods

WithCriterion(Criterion)

public CriterionNode WithCriterion(Criterion criterion)

Parameters
criterion Criterion

Returns
CriterionNode

WithKind(CriterionNodeKind)

public CriterionNode WithKind(CriterionNodeKind kind)

Parameters
kind CriterionNodeKind

Returns
CriterionNode