2022-12-02 15:03:34 +01:00

18 lines
436 B
C#

using System.Linq.Expressions;
namespace Connected.Expressions;
public sealed class IfCommandExpression : CommandExpression
{
public IfCommandExpression(Expression check, Expression ifTrue, Expression ifFalse)
: base(DatabaseExpressionType.If, ifTrue.Type)
{
Check = check;
IfTrue = ifTrue;
IfFalse = ifFalse;
}
public Expression Check { get; }
public Expression IfTrue { get; }
public Expression IfFalse { get; }
}