ContainsSpecification<T, TType>.

ContainsSpecification(TType, IEqualityComparer<TType>, bool) Constructor

Summary

Creates Specification for expected element.

Syntax

[PublicAPI]
public ContainsSpecification(TType expected, IEqualityComparer<TType> comparer = null, bool linqToEntities = false)

Attributes

Type Description
PublicAPI

Parameters

Name Type Description
expected TType Expected element in collection.
comparer IEqualityComparer<TType> Equality comparer.
linqToEntities bool Is linq to entities (without null check of collection in Expression).

Return Value

Type Description
void
GitHub