Skip to main content

CriteriaOperator Members

Provides the abstract (MustInherit in Visual Basic) base class for criteria operators.

Properties

Name Description
CustomFunctionCount static Returns the number of custom functions registered in an application via the CriteriaOperator.RegisterCustomFunction and CriteriaOperator.RegisterCustomFunctions method calls.

Methods

Name Description
Accept(ICriteriaVisitor) Invokes an appropriate overload of the visitor’s Visit method.
Accept<T>(ICriteriaVisitor<T>)
And(CriteriaOperator, CriteriaOperator) static Returns the expression which groups two operands with logical AND.
And(CriteriaOperator[]) static Returns the expression which groups the specified operands with logical AND.
And(IEnumerable<CriteriaOperator>) static Returns the expression which groups the specified operands with logical AND.
Clone(CriteriaOperator) static Creates a copy of the specified CriteriaOperator object.
Clone(OperandProperty) static Creates a copy of the specified DevExpress.Data.Filtering.OperandProperty object.
CriterionEquals(CriteriaOperator, CriteriaOperator) static This method is intended for internal use.
Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
Equals(Object) Determines whether the current object has the same settings as the specified object.
GetCustomFunction(String) static Searches custom functions registered in an application via the CriteriaOperator.RegisterCustomFunction and CriteriaOperator.RegisterCustomFunctions method calls for a function with a specified name.
GetCustomFunctions() static Returns custom functions registered in an application via the CriteriaOperator.RegisterCustomFunction and CriteriaOperator.RegisterCustomFunctions method calls.
GetHashCode() Gets the hash code (a number) that corresponds to the value of the current CriteriaOperator object.
GetType() Gets the Type of the current instance. Inherited from Object.
IsNotNull() For internal use only.
IsNull() For internal use only.
LegacyToString() Returns the string representation of the criteria specified by the current CriteriaOperator instance.
LegacyToString(CriteriaOperator) static Returns the string representation of a specified criteria.
MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
Not() Returns an instance of the DevExpress.Data.Filtering.UnaryOperator that represents the criterion resulting from the logical inversion of the criterion the current CriteriaOperator represents.
Or(CriteriaOperator, CriteriaOperator) static Returns the expression which groups two operands with logical OR.
Or(CriteriaOperator[]) static Returns the expression which groups the specified operands with logical OR.
Or(IEnumerable<CriteriaOperator>) static Returns the expression which groups the specified operands with logical OR.
Parse(String, out OperandValue[]) static Converts the specified string specifying an expression to its CriteriaOperator equivalent.
Parse(String, Object[]) static Converts the specified string, specifying an expression, to its CriteriaOperator equivalent.
ParseList(String, out OperandValue[]) static Converts the specified string representation of expressions that are divided by a semicolon into their CriteriaOperator equivalents.
ParseList(String, Object[]) static Converts the specified string representation of expressions that are divided by a semicolon into their CriteriaOperator equivalents.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
RegisterCustomFunction(ICustomFunctionOperator) static Registers a specified custom function to use in any CriteriaOperator-based criteria in your application.
RegisterCustomFunctions(IEnumerable<ICustomFunctionOperator>) static Registers specified custom functions to use in any CriteriaOperator-based criteria in your application.
ToBasicStyleString(CriteriaOperator, out OperandValue[]) static Converts the specified expression into its equivalent string in VB style.
ToBasicStyleString(CriteriaOperator) static Converts the specified expression into its equivalent string in VB style.
ToCStyleString(CriteriaOperator, out OperandValue[]) static Converts the specified expression into its equivalent string in C# style.
ToCStyleString(CriteriaOperator) static Converts the specified expression into its equivalent string in C# style.
ToString() Converts the current expression into its VB equivalent string.
ToString(CriteriaOperator, out OperandValue[]) static Converts the specified expression into its equivalent string in VB style.
ToString(CriteriaOperator) static Converts the specified expression into its equivalent string in VB style.
TryParse(String, Object[]) static Tries to convert the specified string representation of an expression to its CriteriaOperator equivalent.
UnregisterCustomFunction(ICustomFunctionOperator) static Unregisters a specified custom function from use in any CriteriaOperator-based criteria in your application.
UnregisterCustomFunction(String) static Unregisters a custom function with a specified name from use in any CriteriaOperator-based criteria in your application.

Events

Name Description
UserValueParse static Occurs when restoring a serialized criteria operator that references a user object.
UserValueToString static Occurs when serializing a criteria operator that references a user object.

Operators

Name
Addition(CriteriaOperator, CriteriaOperator) static
BitwiseAnd(CriteriaOperator, CriteriaOperator) static
BitwiseOr(CriteriaOperator, CriteriaOperator) static
Division(CriteriaOperator, CriteriaOperator) static
Equality(CriteriaOperator, CriteriaOperator) static
Explicit(Boolean to CriteriaOperator) static
GreaterThan(CriteriaOperator, CriteriaOperator) static
GreaterThanOrEqual(CriteriaOperator, CriteriaOperator) static
Implicit(Byte to CriteriaOperator) static
Implicit(Byte[] to CriteriaOperator) static
Implicit(Char to CriteriaOperator) static
Implicit(DateTime to CriteriaOperator) static
Implicit(Decimal to CriteriaOperator) static
Implicit(Double to CriteriaOperator) static
Implicit(Guid to CriteriaOperator) static
Implicit(Int16 to CriteriaOperator) static
Implicit(Int32 to CriteriaOperator) static
Implicit(Int64 to CriteriaOperator) static
Implicit(Single to CriteriaOperator) static
Implicit(String to CriteriaOperator) static
Implicit(TimeSpan to CriteriaOperator) static
Inequality(CriteriaOperator, CriteriaOperator) static
LessThan(CriteriaOperator, CriteriaOperator) static
LessThanOrEqual(CriteriaOperator, CriteriaOperator) static
LogicalNot(CriteriaOperator) static
Modulus(CriteriaOperator, CriteriaOperator) static
Multiply(CriteriaOperator, CriteriaOperator) static
Subtraction(CriteriaOperator, CriteriaOperator) static
UnaryNegation(CriteriaOperator) static
UnaryPlus(CriteriaOperator) static
See Also