Skip to main content

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, 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.
FormatConstantValue(Object) static Converts an object to a string that can be used in criteria expressions.
FormatPropertyName(String) static Converts a property name to a string that can be used in criteria expressions.
FromLambda<TModel>(Expression<Func<TModel, Boolean>>) static Converts the specified LINQ-like expression to its CriteriaOperator equivalent.
FromLambda<TModel, TResult>(Expression<Func<TModel, TResult>>) static Converts the specified LINQ-like expression to its CriteriaOperator equivalent.
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() Initializes a new UnaryOperator instance that checks whether the current criteria is not null.
IsNull() Initializes a new UnaryOperator instance that checks whether the current criteria is null.
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, 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.
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