AssertExtension Class

Assert extension.

Definition

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

Methods

AssertTSource(IEnumerableTSource, FuncTSource, Boolean) Asserts that all elements of a sequence meet a given condition otherwise throws an Exception object.
AssertTSource(IEnumerableTSource, FuncTSource, Boolean, FuncTSource, Exception) Asserts that all elements of a sequence meet a given condition otherwise throws an Exception object.

See Also