Click or drag to resize

ArrayExpression Methods

The ArrayExpression type exposes the following members.

Methods
  NameDescription
Public methodStatic memberAny
Returns the start of an expression that will evaluate if any elements inside of an array match a given predicate Usage:
ArrayExpression.Any("x").In(Expression.Property("prop")).Satisfies(ArrayExpression.Variable("x").EqualTo(42))
Public methodStatic memberAnyAndEvery
Returns the start of an expression that will evaluate the following: 1. The array is not empty (has "any" elements) 2. Every element in the array matches a given predicate ("every" element matches) Usage:
ArrayExpression.AnyAndEvery("x").In(Expression.Property("prop")).Satisfies(ArrayExpression.Variable("x").EqualTo(42))
Public methodStatic memberEvery
Returns the start of an expression that will evaluate if every element inside of an array matches a given predicate (note: That means that an empty array will return true because "all zero" elements match) Usage:
ArrayExpression.Every("x").In(Expression.Property("prop")).Satisfies(ArrayExpression.Variable("x").EqualTo(42))
Public methodStatic memberVariable
Returns an expression representing the value of a named variable assigned by earlier calls to Any(IVariableExpression) and family.
Top
See Also