MoreLinq
AssertCount Method
NamespacesMoreLinqMoreEnumerableAssertCount()()()()
Members
IconMemberDescription
AssertCount<(Of <<'(TSource>)>>)(IEnumerable<(Of <<'(TSource>)>>), Int32)
Asserts that a source sequence contains a given count of elements.

AssertCount<(Of <<'(TSource>)>>)(IEnumerable<(Of <<'(TSource>)>>), Int32, Func<(Of <<'(Int32, Int32, Exception>)>>))
Asserts that a source sequence contains a given count of elements. A parameter specifies the exception to be thrown.

Assembly: MoreLinq (Module: MoreLinq.dll) Version: 1.0.16006.0 (1.0.16006.1845)