 | ExceptionExtensions Class |
Adds functionality that is often used for unit testing
to the Exception data type and its derived classes
Inheritance Hierarchy
Namespace:
TestHelperExtensions
Assembly:
CBI.TestHelperExtensions (in CBI.TestHelperExtensions.dll) Version: 2.1.0.1
Syntaxpublic static class ExceptionExtensions
<ExtensionAttribute>
Public NotInheritable Class ExceptionExtensions
[ExtensionAttribute]
public ref class ExceptionExtensions abstract sealed
[<AbstractClassAttribute>]
[<SealedAttribute>]
[<ExtensionAttribute>]
type ExceptionExtensions = class end
The ExceptionExtensions type exposes the following members.
Methods
| Name | Description |
---|
  | ThrowIfT |
Throws the specified exception if the predicate results in a true value
based on the parameter supplied
|
Top
RemarksThis library is not intended for use as production code,
but instead is intended to provide functionality in the test
libraries for that production code.
See Also