AssertCountExtension Class

AssertCount extension.

Definition

Namespace: MoreLinq.Extensions
Assembly: MoreLinq (in MoreLinq.dll) Version: 3.4.0+b99a6a8cc504caf2d48372fe54a2f8116c59cd0c
C#
public static class AssertCountExtension
Inheritance
Object    AssertCountExtension

Methods

AssertCountTSource(IEnumerableTSource, Int32) Asserts that a source sequence contains a given count of elements.
AssertCountTSource(IEnumerableTSource, Int32, FuncInt32, Int32, Exception) Asserts that a source sequence contains a given count of elements. A parameter specifies the exception to be thrown.

See Also