ISpecificationVisitorTCreateNotExpression Method |
Creates a NOT-expression using the specified specification.
Namespace:
Enkoni.Framework
Assembly:
Enkoni.Framework.Specifications (in Enkoni.Framework.Specifications.dll) Version: 1.3.0.1
SyntaxExpression<Func<T, bool>> CreateNotExpression(
ISpecification<T> specification
)
Function CreateNotExpression (
specification As ISpecification(Of T)
) As Expression(Of Func(Of T, Boolean))
Expression<Func<T, bool>^>^ CreateNotExpression(
ISpecification<T>^ specification
)
abstract CreateNotExpression :
specification : ISpecification<'T> -> Expression<Func<'T, bool>>
Parameters
- specification
- Type: Enkoni.FrameworkISpecificationT
The specification whose result must be inverted.
Return Value
Type:
ExpressionFuncT,
BooleanThe created expression.
See Also