GreaterThanSpecification<T>.

GreaterThanSpecification(T, IComparer<T>) Constructor

Summary

Creates Specification for candidate value comparison.

Syntax

[PublicAPI]
public GreaterThanSpecification(T greaterThan, IComparer<T> comparer = null)

Attributes

Type Description
PublicAPI

Parameters

Name Type Description
greaterThan T Candidate should be greater than value.
comparer IComparer<T> Comparer.

Return Value

Type Description
void

Exceptions

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