Share via


AssertExtensions Class

Definition

Provides That extension to Assert class.

[System.Runtime.CompilerServices.Nullable(0)]
public static class AssertExtensions
public static class AssertExtensions
[<System.Runtime.CompilerServices.Nullable(0)>]
type AssertExtensions = class
type AssertExtensions = class
Public Class AssertExtensions
Inheritance
AssertExtensions
Attributes

Methods

Name Description
That(Expression<Func<Boolean>>, String, String)

Evaluates a boolean condition and throws an AssertFailedException if the condition is false.

That(Expression<Func<Boolean>>, String, String)

Evaluates a boolean condition and throws an AssertFailedException if the condition is false.

Applies to