SpecificationNotT Method (ISpecificationT) |
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
Syntaxpublic static ISpecification<T> Not<T>(
ISpecification<T> specification
)
Public Shared Function Not(Of T) (
specification As ISpecification(Of T)
) As ISpecification(Of T)
public:
generic<typename T>
static ISpecification<T>^ Not(
ISpecification<T>^ specification
)
static member Not :
specification : ISpecification<'T> -> ISpecification<'T>
Parameters
- specification
- Type: Enkoni.FrameworkISpecificationT
The specification that acts as a filter.
Type Parameters
- T
- The type of object that is ultimately selected by the specification.
Return Value
Type:
ISpecificationTA specification that will only return the objects that do not match the specification.
See Also