EqualSpecification<T>.

EqualSpecification(T, IEqualityComparer<T>) Constructor

Summary

Creates Specification with specific compare method, depends on T type.
Namespace
FluentSpecification.Common
Containing Type
EqualSpecification<T>

Syntax

[PublicAPI]
public EqualSpecification(T expected, IEqualityComparer<T> comparer = null)

Attributes

Type Description
PublicAPI

Parameters

Name Type Description
expected T Expected object.
comparer IEqualityComparer<T> Equality comparer.

Return Value

Type Description
void
GitHub