Class OrExpression

The OrExpression class represents the logical "Or" operation to combine a collection of other query expressions.

Inheritance
System.Object
OrExpression
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.4
Syntax
public class OrExpression : FilterExpression

Constructors

OrExpression(FilterExpression[])

Constructor

Declaration
public OrExpression(params FilterExpression[] expressions)
Parameters
Type Name Description
FilterExpression[] expressions

Filter expressions to be combined

OrExpression(IEnumerable<FilterExpression>)

Constructor

Declaration
public OrExpression(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 OrExpression, 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 OrExpression, false otherwise

Overrides
System.Object.Equals(System.Object)

Extension Methods

arrow_upward