You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Connected.Framework/Connected.Expressions/Expressions/IfCommandExpression.cs

18 lines
436 B

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; }
}