Table of Contents

Constructor WhenClause

Namespace
YndigoBlue.Velocity.Model
Assembly
YndigoBlue.Velocity.dll

WhenClause(IFilterItem, IElement)

Creates a WHEN branch for a searched case expression.

public WhenClause(IFilterItem condition, IElement result)

Parameters

condition IFilterItem

The condition that selects this branch when it evaluates to true.

result IElement

The value produced when this branch is selected.

WhenClause(IElement, IElement)

Creates a WHEN branch for a simple case expression.

public WhenClause(IElement value, IElement result)

Parameters

value IElement

The value compared against the case expression's operand.

result IElement

The value produced when this branch is selected.