ISpecificationVisitorTCreateOrExpression Method |
Creates an OR-expression using the two specified specifications.
Namespace:
Enkoni.Framework
Assembly:
Enkoni.Framework.Specifications (in Enkoni.Framework.Specifications.dll) Version: 1.3.0.1
SyntaxExpression<Func<T, bool>> CreateOrExpression(
ISpecification<T> leftOperand,
ISpecification<T> rightOperand
)
Function CreateOrExpression (
leftOperand As ISpecification(Of T),
rightOperand As ISpecification(Of T)
) As Expression(Of Func(Of T, Boolean))
Expression<Func<T, bool>^>^ CreateOrExpression(
ISpecification<T>^ leftOperand,
ISpecification<T>^ rightOperand
)
abstract CreateOrExpression :
leftOperand : ISpecification<'T> *
rightOperand : ISpecification<'T> -> Expression<Func<'T, bool>>
Parameters
- leftOperand
- Type: Enkoni.FrameworkISpecificationT
The left operand of the combination. - rightOperand
- Type: Enkoni.FrameworkISpecificationT
The right operand of the combination.
Return Value
Type:
ExpressionFuncT,
BooleanThe created expression.
See Also