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

condition
fnExceptionBuilder

Glossary Item Box

Verifies that the condition is true and if it fails throws the execption returned by fnExceptionBuilder()

Syntax

Visual Basic (Declaration) 
Public Overloads Shared Sub Assert( _
   ByVal condition As Boolean, _
   ByVal fnExceptionBuilder As Check.ExceptionBuilder _
) 
C# 
public static void Assert( 
   bool condition,
   Check.ExceptionBuilder fnExceptionBuilder
)

Parameters

condition
fnExceptionBuilder

Requirements

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

See Also

Generated with Document! X 2011 by Innovasys