SpecificationCore.

OrNot<T>(ISpecification<T>) Method

Summary

Creates composite Specification proxy for final logical OR Specification. Second Specification is negated.
Namespace
FluentSpecification.Core
Containing Type
SpecificationCore

Syntax

[PublicAPI]
[NotNull]
public static ICompositeSpecification<T> OrNot<T>(this ISpecification<T> self)

Attributes

Type Description
PublicAPI
NotNull

Type Parameters

Name Description
T Type of candidate.

Parameters

Name Type Description
self ISpecification<T> Self specification.

Return Value

Type Description
ICompositeSpecification<T> Composite Specification proxy object.
GitHub