Class OrExpressionExtensions
The OrExpressionExtensions class adds supplementary factory methods to the OrExpression class.
Inheritance
Inherited Members
Namespace: EPiServer.Social.Common
Assembly: EPiServer.Social.Common.dll
Version: 1.5.4Syntax
public static class OrExpressionExtensions
Methods
And(OrExpression, FilterExpression[])
Creates an AndExpression combining the collection of specified expressions with the target expression.
Declaration
public static AndExpression And(this OrExpression orExpression, params FilterExpression[] expressions)
Parameters
| Type | Name | Description |
|---|---|---|
| OrExpression | orExpression | 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 |
And(OrExpression, IEnumerable<FilterExpression>)
Creates an AndExpression combining the collection of specified expressions with the target expression.
Declaration
public static AndExpression And(this OrExpression orExpression, IEnumerable<FilterExpression> expressions)
Parameters
| Type | Name | Description |
|---|---|---|
| OrExpression | orExpression | Expression targeted by this extension |
| System.Collections.Generic.IEnumerable<FilterExpression> | expressions | Expressions to be combined |
Returns
| Type | Description |
|---|---|
| AndExpression | AndExpression combining the collection of specified expressions with the target expression |
Or(OrExpression, FilterExpression[])
Creates an OrExpression combining the collection of specified expressions with the target expression.
Declaration
public static OrExpression Or(this OrExpression orExpression, params FilterExpression[] expressions)
Parameters
| Type | Name | Description |
|---|---|---|
| OrExpression | orExpression | 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 |
Or(OrExpression, IEnumerable<FilterExpression>)
Creates an OrExpression combining the collection of specified expressions with the target expression.
Declaration
public static OrExpression Or(this OrExpression orExpression, IEnumerable<FilterExpression> expressions)
Parameters
| Type | Name | Description |
|---|---|---|
| OrExpression | orExpression | Expression targeted by this extension |
| System.Collections.Generic.IEnumerable<FilterExpression> | expressions | Expressions to be combined |
Returns
| Type | Description |
|---|---|
| OrExpression | OrExpression combining the collection of specified expressions with the target expression |