CriteriaOperator Members

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

Properties

Name Description
CustomAggregateCount static
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) This member supports the internal infrastructure, and is not intended to be used directly from your code.
Accept<T>(ICriteriaVisitor<T>) This member supports the internal infrastructure, and is not intended to be used directly from your code.
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 OperandProperty object.
CriterionEquals(CriteriaOperator, CriteriaOperator) static This method is intended for internal use.
Equals(Object) Determines whether the current object has the same settings as the specified object.
Equals(Object, Object) static Determines whether the specified object instances are considered equal.
(Inherited from Object)
GetCustomAggregate(String) static Searches custom aggregate functions registered in an application via the RegisterCustomAggregate(ICustomAggregate) and RegisterCustomAggregates(IEnumerable<ICustomAggregate>) method calls for a function with a specified name.
GetCustomAggregates() static Searches custom aggregate functions registered in an application via the RegisterCustomAggregate(ICustomAggregate) and RegisterCustomAggregates(IEnumerable<ICustomAggregate>) method calls.
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 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)
RegisterCustomAggregate(ICustomAggregate) static Registers a custom aggregate function to use in any CriteriaOperator-based criteria in your application.
RegisterCustomAggregates(IEnumerable<ICustomAggregate>) static Registers custom aggregate functions to use in any CriteriaOperator-based criteria in your application.
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) static Converts the specified expression into its equivalent string in VB style.
ToBasicStyleString(CriteriaOperator, out OperandValue[]) static Converts the specified expression into its equivalent string in VB style.
ToCStyleString(CriteriaOperator) static Converts the specified expression into its equivalent string in C# style.
ToCStyleString(CriteriaOperator, out OperandValue[]) static Converts the specified expression into its equivalent string in C# style.
ToString() Converts the current expression into its VB equivalent string.
ToString(CriteriaOperator) static Converts the specified expression into its equivalent string in VB style.
ToString(CriteriaOperator, out OperandValue[]) 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.
UnregisterCustomAggregate(ICustomAggregate) static Unregisters a specified custom aggregate function from use in any CriteriaOperator-based criteria in your application.
UnregisterCustomAggregate(String) static Unregisters a custom aggregate function with a specified name from use in any CriteriaOperator-based criteria in your application.
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
QueryCustomFunctions static
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.
See Also