Click or drag to resize

SpecificationNotT Method (ExpressionFuncT, Boolean)

Creates a specification that will return the objects that do not match the specified expression.

Namespace:  Enkoni.Framework
Assembly:  Enkoni.Framework.Specifications (in Enkoni.Framework.Specifications.dll) Version: 1.3.0.1
Syntax
public static ISpecification<T> Not<T>(
	Expression<Func<T, bool>> expression
)

Parameters

expression
Type: System.Linq.ExpressionsExpressionFuncT, Boolean
The expression that acts as a filter.

Type Parameters

T
The type of object that is ultimately selected by the specification.

Return Value

Type: ISpecificationT
A specification that will only return the objects that do not match the expression.
See Also