Table of Contents

Interface INestedBooleanOperation

Namespace
Examine.Search
Assembly
Examine.Core.dll

Represents a nested boolean operation

public interface INestedBooleanOperation

Methods

And()

Sets the next operation to be AND

INestedQuery And()

Returns

INestedQuery

And(Func<INestedQuery, INestedBooleanOperation>, BooleanOperation)

Adds the nested query

INestedBooleanOperation And(Func<INestedQuery, INestedBooleanOperation> inner, BooleanOperation defaultOp = BooleanOperation.And)

Parameters

inner Func<INestedQuery, INestedBooleanOperation>
defaultOp BooleanOperation

Returns

INestedBooleanOperation

AndNot(Func<INestedQuery, INestedBooleanOperation>, BooleanOperation)

Adds the nested query

INestedBooleanOperation AndNot(Func<INestedQuery, INestedBooleanOperation> inner, BooleanOperation defaultOp = BooleanOperation.And)

Parameters

inner Func<INestedQuery, INestedBooleanOperation>
defaultOp BooleanOperation

Returns

INestedBooleanOperation

Not()

Sets the next operation to be NOT

INestedQuery Not()

Returns

INestedQuery

Or()

Sets the next operation to be OR

INestedQuery Or()

Returns

INestedQuery

Or(Func<INestedQuery, INestedBooleanOperation>, BooleanOperation)

Adds the nested query

INestedBooleanOperation Or(Func<INestedQuery, INestedBooleanOperation> inner, BooleanOperation defaultOp = BooleanOperation.And)

Parameters

inner Func<INestedQuery, INestedBooleanOperation>
defaultOp BooleanOperation

Returns

INestedBooleanOperation