///<inheritdoc/>
 public override bool IsEquivalentTo(FilterExpression other) => other switch
 {
Beispiel #2
0
 /// <summary>
 /// Builds a new <see cref="GroupExpression"/> that holds the specified <paramref name="expression"/>.
 /// </summary>
 /// <param name="expression"></param>
 /// <exception cref="ArgumentNullException"><paramref name="expression"/> is <c>null</c>.</exception>
 public GroupExpression(FilterExpression expression) => Expression = expression ?? throw new ArgumentNullException(nameof(expression));
Beispiel #3
0
 /// <summary>
 /// Builds a new <see cref="NotExpression"/> that holds the specified <paramref name="expression"/>.
 /// </summary>
 /// <param name="expression"></param>
 /// <exception cref="ArgumentNullException"><paramref name="expression"/> is <c>null</c>.</exception>
 public NotExpression(FilterExpression expression) => Expression = expression switch