Class ExceptionInvoker<TException, TResult>
Provides a generic way to throw an Exception.
Namespace: Cuemon
Assembly: Cuemon.Core.dll
Syntax
public class ExceptionInvoker<TException, TResult>
where TException : Exception
Type Parameters
Name | Description |
---|---|
TException | The type of the Exception. |
TResult | The type of the out result value of a TesterFunc<TResult, TSuccess>. |
Methods
| Improve this Doc View SourceTryThrow()
Determines whether an Exception of type TException
should be thrown.
Declaration
public void TryThrow()