LessThanOrEqualSpecification<T>.

LessThanOrEqualSpecification(T, IComparer<T>) Constructor

Summary

Creates Specification for candidate value comparison.

Syntax

[PublicAPI]
public LessThanOrEqualSpecification(T lessThan, IComparer<T> comparer = null)

Attributes

Type Description
PublicAPI

Parameters

Name Type Description
lessThan T Candidate should be less than or equal to value.
comparer IComparer<T> Comparer.

Return Value

Type Description
void

Exceptions

Type Description
System.ArgumentException Thrown when T has no valid comparison methods.
GitHub