CSLA.NET 6.0.0
CSLA .NET is a software development framework that helps you build a reusable, maintainable object-oriented business layer for your app.
UnitDriven.Asserter Class Reference

Public Member Functions

 Asserter ()
 
void IsNull< T > (T value)
 
void IsNotNull< T > (T value)
 
void IsTrue (bool condition)
 
void IsTrue (bool condition, string message)
 
void IsFalse (bool condition)
 
void IsFalse (bool condition, string message)
 
void AreEqual< T > (T expected, T actual)
 
void AreEqual< T > (T expected, T actual, string message)
 
void Try (Action p)
 
async Task Try (Func< Task > p)
 
void Success ()
 

Detailed Description

Definition at line 14 of file Asserter.cs.

Constructor & Destructor Documentation

◆ Asserter()

UnitDriven.Asserter.Asserter ( )

Definition at line 16 of file Asserter.cs.

Member Function Documentation

◆ AreEqual< T >() [1/2]

void UnitDriven.Asserter.AreEqual< T > ( expected,
actual 
)

Definition at line 50 of file Asserter.cs.

◆ AreEqual< T >() [2/2]

void UnitDriven.Asserter.AreEqual< T > ( expected,
actual,
string  message 
)

Definition at line 55 of file Asserter.cs.

◆ IsFalse() [1/2]

void UnitDriven.Asserter.IsFalse ( bool  condition)

Definition at line 40 of file Asserter.cs.

◆ IsFalse() [2/2]

void UnitDriven.Asserter.IsFalse ( bool  condition,
string  message 
)

Definition at line 45 of file Asserter.cs.

◆ IsNotNull< T >()

void UnitDriven.Asserter.IsNotNull< T > ( value)

Definition at line 25 of file Asserter.cs.

◆ IsNull< T >()

void UnitDriven.Asserter.IsNull< T > ( value)

Definition at line 20 of file Asserter.cs.

◆ IsTrue() [1/2]

void UnitDriven.Asserter.IsTrue ( bool  condition)

Definition at line 30 of file Asserter.cs.

◆ IsTrue() [2/2]

void UnitDriven.Asserter.IsTrue ( bool  condition,
string  message 
)

Definition at line 35 of file Asserter.cs.

◆ Success()

void UnitDriven.Asserter.Success ( )

Definition at line 70 of file Asserter.cs.

◆ Try() [1/2]

void UnitDriven.Asserter.Try ( Action  p)

Definition at line 60 of file Asserter.cs.

◆ Try() [2/2]

async Task UnitDriven.Asserter.Try ( Func< Task >  p)

Definition at line 65 of file Asserter.cs.