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 static

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) static

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

And(CriteriaOperator[]) static

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

And(IEnumerable<CriteriaOperator>) static

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

Clone(CriteriaOperator) static

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

Clone(OperandProperty) static

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

CriterionEquals(CriteriaOperator, CriteriaOperator) static

Determines whether the specified CriteriaOperators are equal.

Equals(Object)

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

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

Returns a registered custom function with the specified name.

GetCustomFunctions() static

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) static

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) static

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

Or(CriteriaOperator[]) static

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

Or(IEnumerable<CriteriaOperator>) static

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

Parse(String, Object[]) static

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

Parse(String, out OperandValue[]) static

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

ParseList(String, Object[]) static

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[]) static

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) static Determines whether the specified Object instances are the same instance.
(Inherited from Object)
RegisterCustomFunction(ICustomFunctionOperator) static

Registers the specified custom function.

RegisterCustomFunctions(IEnumerable<ICustomFunctionOperator>) static

Registers the specified custom functions.

ToBasicStyleString(CriteriaOperator) static

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

ToBasicStyleString(CriteriaOperator, out OperandValue[]) static

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

ToCStyleString(CriteriaOperator) static

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

ToCStyleString(CriteriaOperator, out OperandValue[]) static

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

ToString()

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

ToString(CriteriaOperator) static

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

ToString(CriteriaOperator, out OperandValue[]) static

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

TryParse(String, Object[]) static

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

UnregisterCustomFunction(ICustomFunctionOperator) static

Cancels registration of the specified custom function.

UnregisterCustomFunction(String) static

Cancels registration of a custom function with the specified name.

Events

Name Description
UserValueParse static

Occurs when a criteria operator parses a serialized user object.

UserValueToString static

Occurs when a criteria operator serializes a user object.

Operators

Name Description
Addition(CriteriaOperator, CriteriaOperator) static

Initializes a new BinaryOperator instance that summarizes two specified criteria.

BitwiseAnd(CriteriaOperator, CriteriaOperator) static

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

BitwiseOr(CriteriaOperator, CriteriaOperator) static

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

Division(CriteriaOperator, CriteriaOperator) static

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

Equality(CriteriaOperator, CriteriaOperator) static

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

Explicit(Boolean to CriteriaOperator) static

Explicitly converts the bool value into a CriteriaOperator instance.

GreaterThan(CriteriaOperator, CriteriaOperator) static

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) static

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) static

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

Implicit(Byte[] to CriteriaOperator) static

Implicitly converts the byte array into a CriteriaOperator instance.

Implicit(Char to CriteriaOperator) static

Implicitly converts the char value into a CriteriaOperator instance.

Implicit(DateTime to CriteriaOperator) static

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

Implicit(Decimal to CriteriaOperator) static

Implicitly converts the decimal value into a CriteriaOperator instance.

Implicit(Double to CriteriaOperator) static

Implicitly converts the double value into a CriteriaOperator instance.

Implicit(Guid to CriteriaOperator) static

Implicitly converts the Guid into a CriteriaOperator instance.

Implicit(Int16 to CriteriaOperator) static

Implicitly converts the short value into a CriteriaOperator instance.

Implicit(Int32 to CriteriaOperator) static

Implicitly converts the int value into a CriteriaOperator instance.

Implicit(Int64 to CriteriaOperator) static

Implicitly converts the long value into a CriteriaOperator instance.

Implicit(Single to CriteriaOperator) static

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

Implicit(String to CriteriaOperator) static

Implicitly converts the String into a CriteriaOperator instance.

Implicit(TimeSpan to CriteriaOperator) static

Implicitly converts the TimeSpan value into a CriteriaOperator instance.

Inequality(CriteriaOperator, CriteriaOperator) static

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

LessThan(CriteriaOperator, CriteriaOperator) static

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) static

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) static

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

Modulus(CriteriaOperator, CriteriaOperator) static

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) static

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

Subtraction(CriteriaOperator, CriteriaOperator) static

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

UnaryNegation(CriteriaOperator) static

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

UnaryPlus(CriteriaOperator) static

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

See Also