Specification.

True(ICompositeSpecification<bool>) Method

Summary

Composes self Specification with TrueSpecification:

Checks if candidate is True.

Namespace
FluentSpecification
Containing Type
Specification

Syntax

[PublicAPI]
[NotNull]
public static IComplexSpecification<bool> True(this ICompositeSpecification<bool> self)

Attributes

Type Description
PublicAPI
NotNull

Parameters

Name Type Description
self ICompositeSpecification<bool> Self specification.

Return Value

Type Description
IComplexSpecification<bool> Composed complex Specification.

Exceptions

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