BinaryOperator Members

A logical expression which consists of a BinaryOperatorType operation between two operands.

Constructors

Name Description
BinaryOperator() Initializes a new instance of the BinaryOperator class.
BinaryOperator(CriteriaOperator, CriteriaOperator, BinaryOperatorType) Initializes a new instance of the BinaryOperator class with the specified left and right operands and binary operator type.
BinaryOperator(String, Boolean) Initializes a new instance of the BinaryOperator class which is used to compare the values of the specified property to the Boolean value.
BinaryOperator(String, Boolean, BinaryOperatorType) Initializes a new instance of the BinaryOperator class with the specified type of binary operator. This binary operator is used to compare the values of the specified property to the specified Boolean value.
BinaryOperator(String, Byte) Initializes a new instance of the BinaryOperator class which is used to compare the values of the specified property to the Byte value.
BinaryOperator(String, Byte, BinaryOperatorType) Initializes a new instance of the BinaryOperator class with the specified type of binary operator. This binary operator is used to compare the values of the specified property to the specified Byte value.
BinaryOperator(String, Byte[]) Initializes a new instance of the BinaryOperator class which is used to compare the values of the specified property to an array of Byte values.
BinaryOperator(String, Byte[], BinaryOperatorType) Initializes a new instance of the BinaryOperator class with the specified type of binary operator. This binary operator is used to compare the values of the specified property to the specified Byte values.
BinaryOperator(String, Char) Initializes a new instance of the BinaryOperator class which is used to compare the values of the specified property to the Char value.
BinaryOperator(String, Char, BinaryOperatorType) Initializes a new instance of the BinaryOperator class with the specified type of binary operator. This binary operator is used to compare the values of the specified property to the specified Char value.
BinaryOperator(String, DateTime) Initializes a new instance of the BinaryOperator class which is used to compare the values of the specified property to the DateTime value.
BinaryOperator(String, DateTime, BinaryOperatorType) Initializes a new instance of the BinaryOperator class with the specified type of binary operator. This binary operator is used to compare the values of the specified property to the specified DateTime value.
BinaryOperator(String, Decimal) Initializes a new instance of the BinaryOperator class which is used to compare the values of the specified property to the Decimal value.
BinaryOperator(String, Decimal, BinaryOperatorType) Initializes a new instance of the BinaryOperator class with the specified type of binary operator. This binary operator is used to compare the values of the specified property to the specified Decimal value.
BinaryOperator(String, Double) Initializes a new instance of the BinaryOperator class which is used to compare the values of the specified property to Double values.
BinaryOperator(String, Double, BinaryOperatorType) Initializes a new instance of the BinaryOperator class with the specified type of binary operator. This binary operator is used to compare the values of the specified property to the specified Double value.
BinaryOperator(String, Guid) Initializes a new instance of the BinaryOperator class which is used to compare the values of the specified property to the Guid value.
BinaryOperator(String, Guid, BinaryOperatorType) Initializes a new instance of the BinaryOperator class with the specified type of binary operator. This binary operator is used to compare the values of the specified property to the specified Guid value.
BinaryOperator(String, Int16) Initializes a new instance of the BinaryOperator class which is used to compare the values of the specified property to the Int16 value.
BinaryOperator(String, Int16, BinaryOperatorType) Initializes a new instance of the BinaryOperator class with the specified type of binary operator. This binary operator is used to compare the values of the specified property to the specified Int16 value.
BinaryOperator(String, Int32) Initializes a new instance of the BinaryOperator class which is used to compare the values of the specified property to integer values.
BinaryOperator(String, Int32, BinaryOperatorType) Initializes a new instance of the BinaryOperator class with the specified type of binary operator. This binary operator is used to compare the values of the specified property to the specified integer value.
BinaryOperator(String, Int64) Initializes a new instance of the BinaryOperator class which is used to compare the values of the specified property to the Int64 value.
BinaryOperator(String, Int64, BinaryOperatorType) Initializes a new instance of the BinaryOperator class with the specified type of binary operator. This binary operator is used to compare the values of the specified property to the specified Int64 value.
BinaryOperator(String, Object) Initializes a new instance of the BinaryOperator class.
BinaryOperator(String, Object, BinaryOperatorType) Initializes a new instance of the BinaryOperator class with the specified type of the binary operator.
BinaryOperator(String, Single) Initializes a new instance of the BinaryOperator class which is used to compare the values of the specified property to String values.
BinaryOperator(String, Single, BinaryOperatorType) Initializes a new instance of the BinaryOperator class with the specified type of the binary operator. This binary operator is used to compare the values of the specified property to the specified Single value.
BinaryOperator(String, String) Initializes a new instance of the BinaryOperator class which is used to compare the values of the specified property to the String value.
BinaryOperator(String, String, BinaryOperatorType) Initializes a new instance of the BinaryOperator class with the specified type of binary operator. This binary operator is used to compare the values of the specified property to the specified String value.
BinaryOperator(String, TimeSpan) Initializes a new instance of the BinaryOperator class which is used to compare the values of the specified property to the TimeSpan value.
BinaryOperator(String, TimeSpan, BinaryOperatorType) Initializes a new instance of the BinaryOperator class with the specified type of binary operator. This binary operator is used to compare the values of the specified property to the specified TimeSpan value.

Fields

Name Description
LeftOperand The left operand.
OperatorType Gets the type of the binary operator.
RightOperand The right operand.

Properties

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

Methods

Name Description
Accept(ICriteriaVisitor)
Accept<T>(ICriteriaVisitor<T>)
And(CriteriaOperator, CriteriaOperator) static Returns the expression which groups two operands with logical AND. Inherited from CriteriaOperator.
And(CriteriaOperator[]) static Returns the expression which groups the specified operands with logical AND. Inherited from CriteriaOperator.
And(IEnumerable<CriteriaOperator>) static Returns the expression which groups the specified operands with logical AND. Inherited from CriteriaOperator.
Clone() Creates a copy of the current BinaryOperator instance.
Clone(CriteriaOperator) static Creates a copy of the specified CriteriaOperator object. Inherited from CriteriaOperator.
Clone(OperandProperty) static Creates a copy of the specified OperandProperty object. Inherited from CriteriaOperator.
CriterionEquals(CriteriaOperator, CriteriaOperator) static This method is intended for internal use. Inherited from CriteriaOperator.
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. Inherited from CriteriaOperator.
GetCustomAggregates() static Searches custom aggregate functions registered in an application via the RegisterCustomAggregate(ICustomAggregate) and RegisterCustomAggregates(IEnumerable<ICustomAggregate>) method calls. Inherited from CriteriaOperator.
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. Inherited from CriteriaOperator.
GetCustomFunctions() static Returns custom functions registered in an application via the CriteriaOperator.RegisterCustomFunction and CriteriaOperator.RegisterCustomFunctions method calls. Inherited from CriteriaOperator.
GetHashCode() Gets the hash code (a number) that corresponds to the value of the current BinaryOperator object.
GetType() Gets the Type of the current instance. Inherited from Object.
IsNotNull() For internal use only. Inherited from CriteriaOperator.
IsNull() For internal use only. Inherited from CriteriaOperator.
LegacyToString() Returns the string representation of the criteria specified by the current CriteriaOperator instance. Inherited from CriteriaOperator.
LegacyToString(CriteriaOperator) static Returns the string representation of a specified criteria. Inherited from CriteriaOperator.
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. Inherited from CriteriaOperator.
Or(CriteriaOperator, CriteriaOperator) static Returns the expression which groups two operands with logical OR. Inherited from CriteriaOperator.
Or(CriteriaOperator[]) static Returns the expression which groups the specified operands with logical OR. Inherited from CriteriaOperator.
Or(IEnumerable<CriteriaOperator>) static Returns the expression which groups the specified operands with logical OR. Inherited from CriteriaOperator.
Parse(String, out OperandValue[]) static Converts the specified string, specifying an expression, to its CriteriaOperator equivalent. Inherited from CriteriaOperator.
Parse(String, Object[]) static Converts the specified string, specifying an expression, to its CriteriaOperator equivalent. Inherited from CriteriaOperator.
ParseList(String, out OperandValue[]) static Converts the specified string representation of expressions that are divided by a semicolon into their CriteriaOperator equivalents. Inherited from CriteriaOperator.
ParseList(String, Object[]) static Converts the specified string representation of expressions that are divided by a semicolon into their CriteriaOperator equivalents. Inherited from CriteriaOperator.
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. Inherited from CriteriaOperator.
RegisterCustomAggregates(IEnumerable<ICustomAggregate>) static Registers custom aggregate functions to use in any CriteriaOperator-based criteria in your application. Inherited from CriteriaOperator.
RegisterCustomFunction(ICustomFunctionOperator) static Registers a specified custom function to use in any CriteriaOperator-based criteria in your application. Inherited from CriteriaOperator.
RegisterCustomFunctions(IEnumerable<ICustomFunctionOperator>) static Registers specified custom functions to use in any CriteriaOperator-based criteria in your application. Inherited from CriteriaOperator.
ToBasicStyleString(CriteriaOperator) static Converts the specified expression into its equivalent string in VB style. Inherited from CriteriaOperator.
ToBasicStyleString(CriteriaOperator, out OperandValue[]) static Converts the specified expression into its equivalent string in VB style. Inherited from CriteriaOperator.
ToCStyleString(CriteriaOperator) static Converts the specified expression into its equivalent string in C# style. Inherited from CriteriaOperator.
ToCStyleString(CriteriaOperator, out OperandValue[]) static Converts the specified expression into its equivalent string in C# style. Inherited from CriteriaOperator.
ToString() Converts the current expression into its VB equivalent string. Inherited from CriteriaOperator.
ToString(CriteriaOperator) static Converts the specified expression into its equivalent string in VB style. Inherited from CriteriaOperator.
ToString(CriteriaOperator, out OperandValue[]) static Converts the specified expression into its equivalent string in VB style. Inherited from CriteriaOperator.
TryParse(String, Object[]) static Tries to convert the specified string representation of an expression to its CriteriaOperator equivalent. Inherited from CriteriaOperator.
UnregisterCustomAggregate(ICustomAggregate) static Unregisters a specified custom aggregate function from use in any CriteriaOperator-based criteria in your application. Inherited from CriteriaOperator.
UnregisterCustomAggregate(String) static Unregisters a custom aggregate function with a specified name from use in any CriteriaOperator-based criteria in your application. Inherited from CriteriaOperator.
UnregisterCustomFunction(ICustomFunctionOperator) static Unregisters a specified custom function from use in any CriteriaOperator-based criteria in your application. Inherited from CriteriaOperator.
UnregisterCustomFunction(String) static Unregisters a custom function with a specified name from use in any CriteriaOperator-based criteria in your application. Inherited from CriteriaOperator.

Events

Name Description
QueryCustomFunctions static Inherited from CriteriaOperator.
UserValueParse static Occurs when restoring a serialized criteria operator that references a user object. Inherited from CriteriaOperator.
UserValueToString static Occurs when serializing a criteria operator that references a user object. Inherited from CriteriaOperator.
See Also