Class BinaryExpressionExtensions
The BinaryExpressionExtensions class adds supplementary factory methods to the BinaryExpression class.
Inheritance
System.Object
BinaryExpressionExtensions
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: EPiServer.Social.Common
Assembly: EPiServer.Social.Common.dll
Version: 1.5.4Syntax
public static class BinaryExpressionExtensions
Methods
And(BinaryExpression, FilterExpression[])
Creates an AndExpression combining the collection of specified expressions with the target expression.
Declaration
public static AndExpression And(this BinaryExpression expression, params FilterExpression[] expressions)
Parameters
| Type | Name | Description |
|---|---|---|
| BinaryExpression | expression | Expression targeted by this extension |
| FilterExpression[] | expressions | Expressions to be combined |
Returns
| Type | Description |
|---|---|
| AndExpression | AndExpression combining the collection of specified expressions with the target expression |
Or(BinaryExpression, FilterExpression[])
Creates an OrExpression combining the collection of specified expressions with the target expression.
Declaration
public static OrExpression Or(this BinaryExpression expression, params FilterExpression[] expressions)
Parameters
| Type | Name | Description |
|---|---|---|
| BinaryExpression | expression | Expression targeted by this extension |
| FilterExpression[] | expressions | Expressions to be combined |
Returns
| Type | Description |
|---|---|
| OrExpression | OrExpression combining the collection of specified expressions with the target expression |