Overload | Description |
---|---|
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. |
Target Platforms: Windows XP, Windows Server 2003, Windows Vista, Windows Server 2008, Windows 7