Class AndExpression
The AndExpression class represents the logical "AND" operation to combine a collection of other query expressions.
Inherited Members
System.Object.ToString()
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 class AndExpression : FilterExpression
Constructors
AndExpression(FilterExpression[])
Constructor
Declaration
public AndExpression(params FilterExpression[] expressions)
Parameters
| Type | Name | Description |
|---|---|---|
| FilterExpression[] | expressions | Filter expressions to be combined |
AndExpression(IEnumerable<FilterExpression>)
Constructor
Declaration
public AndExpression(IEnumerable<FilterExpression> expressions)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Collections.Generic.IEnumerable<FilterExpression> | expressions | Filter expressions to be combined |
Properties
Expressions
Gets the collection of filter expressions to be combined.
Declaration
public IEnumerable<FilterExpression> Expressions { get; }
Property Value
| Type | Description |
|---|---|
| System.Collections.Generic.IEnumerable<FilterExpression> |
Methods
Accept(FilterExpressionVisitor)
Accepts a visitor capable of interpreting this expression.
Declaration
public override void Accept(FilterExpressionVisitor visitor)
Parameters
| Type | Name | Description |
|---|---|---|
| FilterExpressionVisitor | visitor | Visitor to be accepted |
Overrides
Equals(Object)
Returns true if the specified object is equivalent to this AndExpression, false otherwise.
Declaration
public override bool Equals(object obj)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Object | obj | Object to compare |
Returns
| Type | Description |
|---|---|
| System.Boolean | True if the specified object is equivalent to this AndExpression, false otherwise |
Overrides
System.Object.Equals(System.Object)