public ParameterlessConditionExpression(IParameterlessResultExpression <bool> condition, IParameterlessResultExpression <TResult> ifExpression, IParameterlessResultExpression <TResult> elseExpression) : base(Native.Expression.Condition(condition.GetNativeExpression(), ifExpression.GetNativeExpression(), elseExpression.GetNativeExpression())) { }
internal ParameterlessBinaryExpression( Func <Native.Expression, Native.Expression, Native.BinaryExpression> nativeExpression, IParameterlessResultExpression <T> left, IParameterlessResultExpression <T> right) : base(nativeExpression(left.GetNativeExpression(), right.GetNativeExpression())) { }
internal BinaryExpression( Func <Native.Expression, Native.Expression, Native.BinaryExpression> nativeExpression, IParameterlessResultExpression <TCurrent> left, IResultExpression <TPrevious, TCurrent> right) : base(nativeExpression(left.GetNativeExpression(), right.GetNativeExpression())) { _container = new SingleParameterCompilableContainer <TPrevious, TResult>(right.GetParameter()); }
public ConditionExpression(IResultExpression <TConditionParameter, bool> condition, IParameterlessResultExpression <TResult> ifExpression, IParameterlessResultExpression <TResult> elseExpression) : base(Native.Expression.Condition(condition.GetNativeExpression(), ifExpression.GetNativeExpression(), elseExpression.GetNativeExpression())) { _parameter = condition.GetParameter(); }
public ConstantConditionExpression(IParameterlessResultExpression <bool> condition, IParameterlessResultExpression <TResult> ifExpression, IResultExpression <TParameter, TResult> elseExpression) : base(Native.Expression.Condition(condition.GetNativeExpression(), ifExpression.GetNativeExpression(), elseExpression.GetNativeExpression())) { _container = new SingleParameterCompilableContainer <TParameter, TResult>(elseExpression.GetParameter()); }
internal ParameterlessUnaryExpression( Func <Native.Expression, Native.UnaryExpression> nativeExpression, IParameterlessResultExpression <T> constant) : base(nativeExpression(constant.GetNativeExpression())) { }