INegatableLinqSpecification<T> Interface

Summary

Base negation of generic Linq Specification interface.
graph BT Type-.->Interface0["INegatableSpecification<T>"] Type-.->Interface1["ISpecification"] click Interface1 "/FluentSpecification/api/FluentSpecification.Abstractions/ISpecification" Type["INegatableLinqSpecification<T>"] class Type type-node Implementing0["CreditCardSpecification"]-.->Type click Implementing0 "/FluentSpecification/api/FluentSpecification.Common/CreditCardSpecification" Implementing1["MaxLengthSpecification<T>"]-.->Type click Implementing1 "/FluentSpecification/api/FluentSpecification.Common/MaxLengthSpecification_1" Implementing2["ExclusiveBetweenSpecification<T>"]-.->Type click Implementing2 "/FluentSpecification/api/FluentSpecification.Common/ExclusiveBetweenSpecification_1" Implementing3["BaseLengthSpecification<T>"]-.->Type click Implementing3 "/FluentSpecification/api/FluentSpecification.Common.Abstractions/BaseLengthSpecification_1" Implementing4["ContainsSpecification"]-.->Type click Implementing4 "/FluentSpecification/api/FluentSpecification.Common/ContainsSpecification" Implementing5["LessThanSpecification<T>"]-.->Type click Implementing5 "/FluentSpecification/api/FluentSpecification.Common/LessThanSpecification_1" Implementing6["BaseGreaterCompareSpecification<T>"]-.->Type click Implementing6 "/FluentSpecification/api/FluentSpecification.Common.Abstractions/BaseGreaterCompareSpecification_1" Implementing7["BaseBetweenSpecification<T>"]-.->Type click Implementing7 "/FluentSpecification/api/FluentSpecification.Common.Abstractions/BaseBetweenSpecification_1" Implementing8["LessThanOrEqualSpecification<T>"]-.->Type click Implementing8 "/FluentSpecification/api/FluentSpecification.Common/LessThanOrEqualSpecification_1" Implementing9["TrueSpecification"]-.->Type click Implementing9 "/FluentSpecification/api/FluentSpecification.Common/TrueSpecification" Implementing10["MatchSpecification"]-.->Type click Implementing10 "/FluentSpecification/api/FluentSpecification.Common/MatchSpecification" Implementing11["BaseCompareSpecification<T>"]-.->Type click Implementing11 "/FluentSpecification/api/FluentSpecification.Common.Abstractions/BaseCompareSpecification_1" Implementing12["FalseSpecification"]-.->Type click Implementing12 "/FluentSpecification/api/FluentSpecification.Common/FalseSpecification" Implementing13["NullSpecification<T>"]-.->Type click Implementing13 "/FluentSpecification/api/FluentSpecification.Common/NullSpecification_1" Implementing14["EmailSpecification"]-.->Type click Implementing14 "/FluentSpecification/api/FluentSpecification.Common/EmailSpecification" Implementing15["ComplexSpecification<T>"]-.->Type click Implementing15 "/FluentSpecification/api/FluentSpecification.Core/ComplexSpecification_1" Implementing16["EqualSpecification<T>"]-.->Type click Implementing16 "/FluentSpecification/api/FluentSpecification.Common/EqualSpecification_1" Implementing17["GreaterThanSpecification<T>"]-.->Type click Implementing17 "/FluentSpecification/api/FluentSpecification.Common/GreaterThanSpecification_1" Implementing18["MinLengthSpecification<T>"]-.->Type click Implementing18 "/FluentSpecification/api/FluentSpecification.Common/MinLengthSpecification_1" Implementing19["IsTypeSpecification<T>"]-.->Type click Implementing19 "/FluentSpecification/api/FluentSpecification.Common/IsTypeSpecification_1" Implementing20["InclusiveBetweenSpecification<T>"]-.->Type click Implementing20 "/FluentSpecification/api/FluentSpecification.Common/InclusiveBetweenSpecification_1" Implementing21["GreaterThanOrEqualSpecification<T>"]-.->Type click Implementing21 "/FluentSpecification/api/FluentSpecification.Common/GreaterThanOrEqualSpecification_1" Implementing22["BaseLessCompareSpecification<T>"]-.->Type click Implementing22 "/FluentSpecification/api/FluentSpecification.Common.Abstractions/BaseLessCompareSpecification_1" Implementing23["LengthSpecification<T>"]-.->Type click Implementing23 "/FluentSpecification/api/FluentSpecification.Common/LengthSpecification_1" Implementing24["EmptySpecification<T>"]-.->Type click Implementing24 "/FluentSpecification/api/FluentSpecification.Common/EmptySpecification_1" Implementing25["LengthBetweenSpecification<T>"]-.->Type click Implementing25 "/FluentSpecification/api/FluentSpecification.Common/LengthBetweenSpecification_1" Implementing26["ContainsSpecification<T, TType>"]-.->Type click Implementing26 "/FluentSpecification/api/FluentSpecification.Common/ContainsSpecification_2"

Syntax

[PublicAPI]
public interface INegatableLinqSpecification<T> : INegatableSpecification<T>, ISpecification

Remarks

Default "handler" for all kinds of negation generic Linq Specifications.

Can be used for searching valid objects in collections or DB sets.

Attributes

Type Description
PublicAPI

Type Parameters

Name Description
T Type of candidate to verify.

Methods

Name Value Summary
GetNegationExpression() Expression<Func<T, bool>>
Gets typed lambda Linq Expression with candidate object verification.
GitHub