Specification.

Empty<T>(ICompositeSpecification<T>) Method

Summary

Composes self Specification with EmptySpecification<T>:

Checks if candidate is empty.

Namespace
FluentSpecification
Containing Type
Specification

Syntax

[PublicAPI]
[NotNull]
public static IComplexSpecification<T> Empty<T>(this ICompositeSpecification<T> self)

Attributes

Type Description
PublicAPI
NotNull

Type Parameters

Name Description
T Type of candidate.

Parameters

Name Type Description
self ICompositeSpecification<T> Self specification.

Return Value

Type Description
IComplexSpecification<T> Composed complex Specification.

Exceptions

Type Description
System.ArgumentNullException Thrown when self is null.
GitHub