ISpecificationVisitorTCreateLambdaExpression Method |
Creates a lambda-expression using the specified expression. Typically, this method simply returns the parameter.
Namespace:
Enkoni.Framework
Assembly:
Enkoni.Framework.Specifications (in Enkoni.Framework.Specifications.dll) Version: 1.3.0.1
SyntaxExpression<Func<T, bool>> CreateLambdaExpression(
Expression<Func<T, bool>> expression
)
Function CreateLambdaExpression (
expression As Expression(Of Func(Of T, Boolean))
) As Expression(Of Func(Of T, Boolean))
Expression<Func<T, bool>^>^ CreateLambdaExpression(
Expression<Func<T, bool>^>^ expression
)
abstract CreateLambdaExpression :
expression : Expression<Func<'T, bool>> -> Expression<Func<'T, bool>>
Parameters
- expression
- Type: System.Linq.ExpressionsExpressionFuncT, Boolean
The expression that was originally passed to the specification.
Return Value
Type:
ExpressionFuncT,
BooleanThe created expression.
See Also