ISpecificationVisitorTCreateCustomExpression Method |
Creates an expression using the custom specification. This method is executed when a specification-type is used that is not part of
the default specification system.
Namespace:
Enkoni.Framework
Assembly:
Enkoni.Framework.Specifications (in Enkoni.Framework.Specifications.dll) Version: 1.3.0.1
SyntaxExpression<Func<T, bool>> CreateCustomExpression(
ISpecification<T> specification
)
Function CreateCustomExpression (
specification As ISpecification(Of T)
) As Expression(Of Func(Of T, Boolean))
Expression<Func<T, bool>^>^ CreateCustomExpression(
ISpecification<T>^ specification
)
abstract CreateCustomExpression :
specification : ISpecification<'T> -> Expression<Func<'T, bool>>
Parameters
- specification
- Type: Enkoni.FrameworkISpecificationT
The custom specification.
Return Value
Type:
ExpressionFuncT,
BooleanThe created expression.
See Also