CSharpTest.Net
Assert Method
See Also  Send Feedback Download Help File
CSharpTest.Net.Library Assembly > (Global) Namespace > Check Class : Assert Method

Glossary Item Box

Verifies that the condition is true and if it fails constructs the specified type of exception and throws.

Overload List

OverloadDescription
Assert<TException>(Boolean)Verifies that the condition is true and if it fails constructs the specified type of exception and throws.  
Assert<TException>(Boolean,String)Verifies that the condition is true and if it fails constructs the specified type of exception with any arguments provided and throws.  
Assert(Boolean,ExceptionBuilder)Verifies that the condition is true and if it fails throws the execption returned by fnExceptionBuilder()  
Assert<TException>(Boolean,String,Exception)Verifies that the condition is true and if it fails constructs the specified type of exception with any arguments provided and throws.  

Requirements

Target Platforms: Windows XP, Windows Server 2003, Windows Vista, Windows Server 2008, Windows 7

See Also

Generated with Document! X 2011 by Innovasys