The requested page is not available for the requested platform. You are viewing the content for Default platform.

CriteriaOperator Members

The base Criteria Language operator.

Properties

Name Description
CustomFunctionCount

Returns the number of registered custom functions.

Methods

Name Description
Accept(ICriteriaVisitor)

For internal use only. Accepts the specified visitor.

Accept<T>(ICriteriaVisitor<T>)

For internal use only. Accepts the specified visitor.

And(CriteriaOperator, CriteriaOperator)

Initializes a new CriteriaOperator that groups specified criteria via the logical AND operator.

And(CriteriaOperator[])

Initializes a new CriteriaOperator that groups specified criteria via the logical AND operator.

And(IEnumerable<CriteriaOperator>)

Initializes a new CriteriaOperator that groups specified criteria via the logical AND operator.

Clone(CriteriaOperator)

Initializes a new CriteriaOperator instance that is a copy of the specified instance instance.

Clone(OperandProperty)

Initializes a new OperandProperty instance that is a copy of the specified instance instance.

CriterionEquals(CriteriaOperator, CriteriaOperator)

Determines whether the specified CriteriaOperators are equal.

Equals(Object)

Determines whether the specified object is equal to the current CriteriaOperator instance.

Equals(Object, Object) Determines whether the specified object instances are considered equal.
(Inherited from Object)
GetCustomFunction(String)

Returns a registered custom function with the specified name.

GetCustomFunctions()

Returns all registered custom functions.

GetHashCode()

Serves as the default hash function.

GetType() Gets the Type of the current instance.
(Inherited from Object)
IsNotNull()

Initializes a new UnaryOperator instance that checks whether the current criterion is not null.

IsNull()

Initializes a new UnaryOperator instance that checks whether the current criterion is null.

LegacyToString()

Converts the current expression into its string equivalent and removes value suffixes (like 'm', 'M', 'l', 'L', etc.)

LegacyToString(CriteriaOperator)

Converts the specified expression into its string equivalent and removes value suffixes (like 'm', 'M', 'l', 'L', etc.)

MemberwiseClone() Creates a shallow copy of the current Object.
(Inherited from Object)
Not()

Initializes a new UnaryOperator instance that applies the logical NOT operator to the current criterion.

Or(CriteriaOperator, CriteriaOperator)

Initializes a new CriteriaOperator that groups specified criteria via the logical OR operator.

Or(CriteriaOperator[])

Initializes a new CriteriaOperator that groups specified criteria via the logical OR operator.

Or(IEnumerable<CriteriaOperator>)

Initializes a new CriteriaOperator that groups specified criteria via the logical OR operator.

Parse(String, Object[])

Converts the specified string into its CriteriaOperator equivalent. Throws an exception if it cannot convert the string to a criterion.

Parse(String, out OperandValue[])

Converts the specified string into its CriteriaOperator equivalent. Throws an exception if it cannot convert the string to a criterion.

ParseList(String, Object[])

Converts the specified string into its CriteriaOperators equivalent. Expressions should be divided by a semicolon (';'). Throws an exception if it cannot convert the string to criteria.

ParseList(String, out OperandValue[])

Converts the specified string into its CriteriaOperators equivalent. Expressions should be divided by a semicolon (';'). Throws an exception if it cannot convert the string to criteria.

ReferenceEquals(Object, Object) Determines whether the specified Object instances are the same instance.
(Inherited from Object)
RegisterCustomFunction(ICustomFunctionOperator)

Registers the specified custom function.

RegisterCustomFunctions(IEnumerable<ICustomFunctionOperator>)

Registers the specified custom functions.

ToBasicStyleString(CriteriaOperator)

Converts the specified expression into its VB-style string equivalent.

ToBasicStyleString(CriteriaOperator, out OperandValue[])

Converts the specified expression into its VB-style string equivalent.

ToCStyleString(CriteriaOperator)

Converts the specified expression into its C#-style string equivalent.

ToCStyleString(CriteriaOperator, out OperandValue[])

Converts the specified expression into its C#-style string equivalent.

ToString()

Converts the current expression into its VB-style string equivalent.

ToString(CriteriaOperator)

Converts the specified expression into its VB-style string equivalent.

ToString(CriteriaOperator, out OperandValue[])

Converts the specified expression into its VB-style string equivalent.

TryParse(String, Object[])

Converts the specified string into its CriteriaOperator equivalent. Returns null if cannot convert the string to a criterion.

UnregisterCustomFunction(ICustomFunctionOperator)

Cancels registration of the specified custom function.

UnregisterCustomFunction(String)

Cancels registration of a custom function with the specified name.

Events

Name Description
UserValueParse

Occurs when a criteria operator parses a serialized user object.

UserValueToString

Occurs when a criteria operator serializes a user object.

Operators

Name Description
Addition(CriteriaOperator, CriteriaOperator)

Initializes a new BinaryOperator instance that summarizes two specified criteria.

BitwiseAnd(CriteriaOperator, CriteriaOperator)

Initializes a new BinaryOperator instance that applies the bitwise AND operator to the specified criteria.

BitwiseOr(CriteriaOperator, CriteriaOperator)

Initializes a new BinaryOperator instance that applies the bitwise OR operator to the specified criteria.

Division(CriteriaOperator, CriteriaOperator)

Initializes a new BinaryOperator instance that divides the first specified criterion by the second.

Equality(CriteriaOperator, CriteriaOperator)

Initializes a new BinaryOperator instance that checks whether values that the criteria specify are equal.

Explicit(Boolean to CriteriaOperator)

Explicitly converts the bool value into a CriteriaOperator instance.

GreaterThan(CriteriaOperator, CriteriaOperator)

Initializes a new BinaryOperator instance that checks whether a value the left criterion specifies is greater than a value the right criterion returns.

GreaterThanOrEqual(CriteriaOperator, CriteriaOperator)

Initializes a new BinaryOperator instance that checks whether a value the left criterion specifies is greater than or equal to a value the right criterion returns.

Implicit(Byte to CriteriaOperator)

Implicitly converts the byte value into a <DevExpress.Data.Filtering.CriteriaOperator> instance.

Implicit(Byte[] to CriteriaOperator)

Implicitly converts the byte array into a CriteriaOperator instance.

Implicit(Char to CriteriaOperator)

Implicitly converts the char value into a CriteriaOperator instance.

Implicit(DateTime to CriteriaOperator)

Implicitly converts the <xreF:System.DateTime> value into a CriteriaOperator instance.

Implicit(Decimal to CriteriaOperator)

Implicitly converts the decimal value into a CriteriaOperator instance.

Implicit(Double to CriteriaOperator)

Implicitly converts the double value into a CriteriaOperator instance.

Implicit(Guid to CriteriaOperator)

Implicitly converts the Guid into a CriteriaOperator instance.

Implicit(Int16 to CriteriaOperator)

Implicitly converts the short value into a CriteriaOperator instance.

Implicit(Int32 to CriteriaOperator)

Implicitly converts the int value into a CriteriaOperator instance.

Implicit(Int64 to CriteriaOperator)

Implicitly converts the long value into a CriteriaOperator instance.

Implicit(Single to CriteriaOperator)

Implicitly converts the float value into a <DevExpress.Data.Filtering.CriteriaOperator> instance.

Implicit(String to CriteriaOperator)

Implicitly converts the String into a CriteriaOperator instance.

Implicit(TimeSpan to CriteriaOperator)

Implicitly converts the TimeSpan value into a CriteriaOperator instance.

Inequality(CriteriaOperator, CriteriaOperator)

Initializes a new BinaryOperator instance that checks whether values that the criteria specify are not equal.

LessThan(CriteriaOperator, CriteriaOperator)

Initializes a new BinaryOperator instance that checks whether a value the left criterion specifies is less than a value the right criterion returns.

LessThanOrEqual(CriteriaOperator, CriteriaOperator)

Initializes a new BinaryOperator instance that checks whether a value the left criterion specifies is less than or equal to a value the right criterion returns.

LogicalNot(CriteriaOperator)

Initializes a new UnaryOperator instance that applies logical NOT operation to the current criterion.

Modulus(CriteriaOperator, CriteriaOperator)

Initializes a new BinaryOperator instance that computes the dividing remainder of a value the left criterion specifies by a value the right criterion returns.

Multiply(CriteriaOperator, CriteriaOperator)

Initializes a new BinaryOperator instance that multiplies the first specified criterion to the second.

Subtraction(CriteriaOperator, CriteriaOperator)

Initializes a new BinaryOperator instance that computes difference between a value the left criterion specifies and a value the right criterion returns.

UnaryNegation(CriteriaOperator)

Initializes a new UnaryOperator instance that applies unary minus operation to the current criterion.

UnaryPlus(CriteriaOperator)

Initializes a new UnaryOperator instance that applies unary plus operation to the current criterion.

See Also